Forums

ASP

This topic is locked

Problem with Smart Image Processor

Posted 26 Aug 2003 23:38:19
1
has voted
26 Aug 2003 23:38:19 Shelly Hill posted:
I just purchased Smart Image Processor and am running into a problem. When ASP Pure Upload saves the name of the file being uploaded, it uses the full name, i.e. image1.jpg, which is what I save in the database. I'm using SIP to save a thumbnail version of the original, with a suffix of _sm. However, when I go to display the thumbnail on my Results page, using code like "Response.Write "<img src='photos/" & rsMembers.Fields.Item("Photograph".Value & "_sm' border='0'>", it's not working because this is returning something like image1.jpg_sm, rather than image1_sm.jpg. How do I dynamically display the thumbnail?

Thanks in advance for any help!

Shelly

Replies

Replied 27 Aug 2003 09:20:24
27 Aug 2003 09:20:24 Martha Graham replied:
Use the format DMXzone - Thumbnail and change the suffix to the suffix you are using.

Martha Graham
DMXzone manager
Replied 27 Aug 2003 16:24:35
27 Aug 2003 16:24:35 Shelly Hill replied:
I have the suffix set to _sm. So, when the thumbnail is being saved, it's saved as image1_sm.jpg. The name of the original file (the one that's in the database) is stored as image1.jpg. So, when I want to dynamically display the thumbnail by building the img tag, I would need to first strip off the ".jpg" from the file name, then append "_sm.jpg" to that. How do I do that?

Am I making any sense?

Thanks

Shelly
Replied 27 Aug 2003 16:29:13
27 Aug 2003 16:29:13 Martha Graham replied:
To display the thumbnail image, please check the tutorial under the help button. Hope this will help.

Martha Graham
DMXzone manager
Replied 27 Aug 2003 17:01:50
27 Aug 2003 17:01:50 Shelly Hill replied:
There we go! Much better!

Thanks!

Shelly
Replied 11 Sep 2003 02:22:30
11 Sep 2003 02:22:30 Tom Beck replied:
I am having the same problem only using the php version of Smart Image Processor. Where is this tutorial and will it help?
Replied 11 Sep 2003 03:57:40
11 Sep 2003 03:57:40 Shelly Hill replied:
Yes, it helps. Just click on the Help button when you have the Image Processor dialog box open. It's all explained there.

-Shelly

Reply to this topic