Smart Image Processor ASP 2 Support Product Page


Thumbnail extension not the same as original image

Reported 16 Feb 2012 11:04:03
has this problem
16 Feb 2012 11:04:03 Les IsOnline posted:
Im having a small issue with my thumbnails im creating using sip.
Im using Advanced multi uploader to add photos and then sip makes a thumbnail and puts it in the thumbs folder.
This is all working , the problem is if my original image is gif, or png they are saved as such but the thumbnail is saved as a jpg so when it comes to displaying the thumbnail it doesnt show as my page is looking for a gif.

I hope that makes sense and you can help.


Replied 16 Feb 2012 12:20:14
16 Feb 2012 12:20:14 Les IsOnline replied:
Ive solved this thanks to Miro :-)

I just needed to add some code to rename my thumbnails so I get the proper extension if they changed from the original..

Got it like
sFileName = Left(Session("savepic1"), InstrRev(Session("savepic1"), "."))

Then add jpg to it :-)

Reply to this topic