Thumb_Images update - v2.1
This new version is available from our download area ( http://www.ultranerds.com ).
This version, fixes up a couple of bugs;
1) When adding a link, and submitting an image that was too large / the regex didn't return a true match; then you used to get a "Can't call File_RelativePath on an undefined value..." error message. This new version should fix this (you won't get a fatal error now).
2) When using ThumbURL() and ThumbFullURL() an error used to pop up if you didn't surround the tags with;
....
<%endif%>
Although this fix doesn't stop dead images showing up, it does stop fatal errors. The best way to stop any dead images, is to use a similar format (above) in your templates.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
This new version is available from our download area ( http://www.ultranerds.com ).
This version, fixes up a couple of bugs;
1) When adding a link, and submitting an image that was too large / the regex didn't return a true match; then you used to get a "Can't call File_RelativePath on an undefined value..." error message. This new version should fix this (you won't get a fatal error now).
2) When using ThumbURL() and ThumbFullURL() an error used to pop up if you didn't surround the tags with;
Code:
<%if ImageFieldName%> ....
<%endif%>
Although this fix doesn't stop dead images showing up, it does stop fatal errors. The best way to stop any dead images, is to use a similar format (above) in your templates.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!