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
)
)