MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] If file exists... show it



On  1 Oct, Victor Nolton wrote:
> ******    message to minivend-users from Victor Nolton <ven@pragakhan.com>     ******
> 
> I tried putting the absolute url for the missing image. it does not 
> print it at all. And sometimes with some tinkering it will print the 
> correct picture but if the image isn't present it still shows up as a 
> broken icon and it's the thumbnail file name and not missingimage.jpg
> 
> 
[DEL]

i use

[if file __SAMPLEHTML__/images/cover/[item-code].jpg]
[include pages/fontfaces.html]<B><FONT SIZE="+2" COLOR="#009999">C</FONT></B>&nbsp;&nbsp; 
[/if]

in my results page and it works well. Maybe you get success, if you use
"__SAMPLEHTML__"? E.g.

[if file __SAMPLEHTML__/images/spring99/[item-field thumbnail]]
<IMG SRC="[item-field thumbnail]" ALT="[item-field title]" BORDER="2">
[else]
<IMG SRC="missingthumb.jpg" ALT="[item-field title]" BORDER="2">
[/else]
[/if]

Or i use

[if file __SAMPLEHTML__/images/cover/[item-code].jpg]
	      <TABLE ID="T7" BORDER=0 VALIGN=TOP ALIGN=LEFT WIDTH=465> 
          [else] 
	      <TABLE ID="T7" BORDER=0 VALIGN=TOP ALIGN=LEFT WIDTH=665> 

          [/else] 
[/if]
in my flypage.html and it works well too.

Where is the location of [item-field thumbnail]?
Where is the location of missingthumb.jpg?
Did you see the right value of [item-field thumbnail]?

I have had the same trouble a long time ago and the error was a wrong
URL or wrong directory to the images. Are you able to see all images by
typing the full url (in your browser) to the images. Sorry! I
didn't understand you. Check the value of [item-field thumbnail] and the
URL in your MV page via browser and insert this lines

1 Is this right? : [item-field thumbnail] <BR>
2 Is this right? : __SAMPLEHTML__<BR>

in your page and see what you get.

Regards,

Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1971449
45886 Gelsenkirchen



Search for: Match: Format: Sort by: