Smart Image Processor ASP 2 Support Product Page
Answered
retrieveing thumbnails in a page
Asked 23 Nov 2011 18:57:56
1
has this question
23 Nov 2011 18:57:56 Owen Smart posted:
hiwith this extension, there is no format code to extract the thumbnails onto a web page.
i know how to do this with the php model but not with this version of the asp model...
the support comments posted on this are not good... can you
i tried to work around this by using a prefix instead of a suffix, however the add on pack for asp only uses suffix, there is no prefix option when deleting the images from the server...
Using Dreamweaver 5.5, on Windows 7
please assist?
thanks!!!
Edited by - Owen Smart on 23 Nov 2011 18:58:36
Replies
Replied 24 Nov 2011 10:24:08
24 Nov 2011 10:24:08 Teodor Kuduschiev replied:
Hello Owen,
can you please explain what exactly do you need to create, as it is quite unclear from your post?
can you please explain what exactly do you need to create, as it is quite unclear from your post?
Replied 25 Nov 2011 22:52:36
25 Nov 2011 22:52:36 Owen Smart replied:
sure... what is the asp code to match the thumbnail up with the source image filename in the database?
in PHP its like this....
<?php echo Thumbnail("_small", $row_rspage['Image']); ?>
with the following in the head section
<?php function Thumbnail($tmb_suffix,$tmb_filename) { $tmb_pos = strrpos($tmb_filename, "/"); if ($tmb_pos == false) { $tmb_pos = 0; } $tmb_name = substr($tmb_filename, $tmb_pos, strrpos($tmb_filename, ".")); $tmb_extension = substr($tmb_filename, strrpos($tmb_filename, ".")); return ($tmb_name.$tmb_suffix.$tmb_extension); } ?>
Edited by - Owen Smart on 25 Nov 2011 22:53:15
Edited by - Owen Smart on 25 Nov 2011 22:54:04
Replied 05 Dec 2011 12:37:22
05 Dec 2011 12:37:22 Miroslav Zografski replied:
Hello Owen,
Please, check you e-mail,
Please, check you e-mail,
Replied 11 Apr 2014 13:21:45
11 Apr 2014 13:21:45 Mr. em replied:
can you send me the answer too but in ASP
my naming is done like imagename_small.jpg
my naming is done like imagename_small.jpg
Replied 30 Sep 2014 02:14:25
30 Sep 2014 02:14:25 Duffy Weiss replied:
I have the same question,