HUGE Space Size Savings On Images

Does that mean the old forum system actively referenced different sizes of the same image i.e. image srcset usage ? If you're keeping the old url format, does that mean you need to also make multiple sizes of same image but just optimise each set of images as well ? That would be alot of images !
I'm hoping @Slavik knows the answer to that, as he's doing the conversion from the previous software. Inspecting the source shows most are pulling the full CDN URL when they are embedded, and allowing them to pop out in the lightbox

Not sure how the thumbnails are going to work thorugh, as they look to be a mapped URL

Code:
content/type/61/id/7803445/width/350/height/700/flags/LL

Use a rewrite:

Code:
RewriteRule ^content/type/61/id/.* redirect.php?requestPath=$0 [QSA,NC,L]


Which then references tables imported which contain the Attachment ID > File mapping.

Then return the image in the response if the file is there.

That way we don't have to physically import all the files and can just load them from the existing folder structure.

So as long as the file names are the same, they can be optimized or changed in the file system external from XenForo without causing issues.
 
Last edited:
Which then references tables imported which contain the Attachment ID > File mapping from Huddler.

Then return the image in the response if the file is there.

That way we don't have to physically import all the files and can just load them from the existing folder structure.

So as long as the file names are the same, they can be optimized or changed in the file system external from XenForo without causing issues.
nice :cool:
 
Use a rewrite:

Code:
RewriteRule ^content/type/61/id/.* redirect.php?requestPath=$0 [QSA,NC,L]

So as long as the file names are the same, they can be optimized or changed in the file system external from XenForo without causing issues.

Brilliant!
 
Top Bottom