I had previously installed ReIMG Image Resizer mod which I have now disabled from the ACP (not uninstalled)
I installed the Prettyphoto Attachment mod, the first issue encountered was error message
"Image cannot be loaded. Make sure the path is correct and image exist."
The thumbnail would appear but when clicking on the thumb, the above error would appear (screenshot attached)
This issue appears to be due to the code in styles/prosilver/template/attachment.html
Code: Select all
<dt><a href="{_file.U_DOWNLOAD_LINK}/{_file.DOWNLOAD_NAME}"...
Code: Select all
<dt><a href="{_file.U_DOWNLOAD_LINK}">...
After making the changes, the mod is working fine on new attachments and some old attachments.
On some old attachments, the images are not resized but displaying the full pixels beyond the forum margins..
On some old attachments, it is working fine
Any idea what I am doing wrong ?