Guest Posted May 4, 2006 Posted May 4, 2006 similarly to the tep_href_link function to preserve the session id, is it necessary to do a similar thing to images? if so, how?
Jack_mcs Posted May 5, 2006 Posted May 5, 2006 No, it is not required. However if you use the tep_image function, it will set things up you might miss by just using html. For example, it adds the alt text tag, which is required for images or an error is created. The title tag is also added using the alt tag text, if present. This is usefule for the search engines. As long as you entered those things in an html img statement, then it makes no difference which you use. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
ccubed_99 Posted May 5, 2006 Posted May 5, 2006 similarly to the tep_href_link function to preserve the session id, is it necessary to do a similar thing to images? if so, how? Use of the tep_image is a good way to avoid the secure non secure messages a user might receive. It just makes life a little easier. Also if you take a look at the function itself its fairly easy to understand how it works and how to fill in the details you need when you call on it. I have even made a second tep_image for more customized needs, like tep_image_myspecialneeds. Read, read, read, test, read, read, test, read, implement. Always back up your site and database before changes. Always back up on a regular basis.
Jack_mcs Posted May 6, 2006 Posted May 6, 2006 Use of the tep_image is a good way to avoid the secure non secure messages a user might receiveNon secure messages are casued by links, not images, so using the function for that purpose won't make any difference. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.