Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Display Detailed Image - Alternative text

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-09-2008, 08:04 PM
 
alla alla is offline
 

Member
  
Join Date: Aug 2008
Posts: 21
 

Default Display Detailed Image - Alternative text

Hi,

How can I display the alternative text from the detailed image module.

It seems $images does not have it.


Thank you.
__________________
Gold, X-Cart version 4.1.10
Reply With Quote
  #2  
Old 09-10-2008, 12:34 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Display Detailed Image - Alternative text

Quote:
Originally Posted by alla
Hi,

How can I display the alternative text from the detailed image module.

It seems $images does not have it.


Thank you.

What about field "alt"?

Example for X-cart 1.10 gold (array $images for some product)


(
[0] => Array
(
[imageid] => 19
[id] => 141
[image_path] => .\images\D\Untitled-1.bmp
[image_type] => image/bmp
[image_x] => 197
[image_y] => 28
[image_size] => 16632
[alt] => dbgf
[avail] => Y
[orderby] => 0
[tmbn_url] => http://127.0.0.1/gold-10/images/D/Untitled-1.bmp
)

[1] => Array
(
[imageid] => 20
[id] => 141
[image_path] => .\images\D\keeley_hazell.jpg
[image_type] => image/jpeg
[image_x] => 1600
[image_y] => 1200
[image_size] => 157868
[alt] => ruyeryrty
[avail] => Y
[orderby] => 0
[tmbn_url] => http://127.0.0.1/gold-10/images/D/keeley_hazell.jpg
)

[2] => Array
(
[imageid] => 21
[id] => 141
[image_path] => .\images\D\c_4.gif
[image_type] => image/gif
[image_x] => 30
[image_y] => 30
[image_size] => 617
[alt] => gsgsdfgsdfg
[avail] => Y
[orderby] => 0
[tmbn_url] => http://127.0.0.1/gold-10/images/D/c_4.gif
)

)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:17 AM.

   

 
X-Cart forums © 2001-2020