View Single Post
  #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