I have a Listit2 module for which one fields is of type GBFilePicker. In the admin screen showing the list of items for the image column the image is broken as it is trying show a CGSmartImage such as uploads/_CGSmartImage/img-830d31087b4aa42ea83b304ff3afe79a/
Clicking on the broken image shows the image in Colorbox. If I uninstall CGSmartImage the thumbnails show fine.
CMS 1.11.7
CGSmartImage 1.12.1
ListIt2 1.4
CGSmartImage breaks images in ListIt2 module admin
CGSmartImage breaks images in ListIt2 module admin
Last edited by applejack on Mon Oct 07, 2013 12:29 pm, edited 2 times in total.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: CGSmartImage breaks images in ListIt2 module admin
Sounds more like a problem with GBFilePicker.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: CGSmartImage breaks images in ListIt2 module admin
Using GBFilePicker in a normal CMS template shows the thumbnail fine but yeah could still be the culprit, just wondering if anyone else had the same issue. If I edit the record the thumbnail shows fine.
Re: CGSmartImage breaks images in ListIt2 module admin
I just set up another ListIt2 module and this time used file upload as the field type and it is still broken in the same way and again if I uninstall CGSmartImage it works as it should so therefore I don't think that it is due to GBFilepicker.
Re: CGSmartImage breaks images in ListIt2 module admin
If CGSI is installed, all thumb generation is using that module, else it uses what other modules / parts offer.
There must be bug if thumbs ain't working, please report it to LI2 BR section. I'll take a look when i have time.
-Stiks-
There must be bug if thumbs ain't working, please report it to LI2 BR section. I'll take a look when i have time.
-Stiks-
Re: [Solved] CGSmartImage breaks images in ListIt2 module ad
Doesn't show because of trailing slash on image URL because of config and system httpd conf.
Re: CGSmartImage breaks images in ListIt2 module admin
I removed the trailing slash which was being adding via the .htaccess file and now if I try and access the image directly it throws a page not found.
I think it is to do with the fact that there is no file extension or not prepended with e.g. data:image/jpeg;base64, and so therefore Apache doesn't know what type of document it is. I tried adding a mime type of application/base64 without an extension to Apache's config but still serves a page not found.
If I use CGSmartImage directly in a core CMS template then the image it generates starts with data:image/jpeg;base64, and works.
I think it is to do with the fact that there is no file extension or not prepended with e.g. data:image/jpeg;base64, and so therefore Apache doesn't know what type of document it is. I tried adding a mime type of application/base64 without an extension to Apache's config but still serves a page not found.
If I use CGSmartImage directly in a core CMS template then the image it generates starts with data:image/jpeg;base64, and works.
Re: CGSmartImage breaks images in ListIt2 module admin
This seems to be solved in recent versions of CGSMartImage, just make sure you go to CGSI Settings > General > Force all output files to have a file extension:Yes
Re: CGSmartImage breaks images in ListIt2 module admin
Ok thanks for letting me know I haven't used it since so wasn't aware.
Re: CGSmartImage breaks images in ListIt2 module admin
No problem, I was just facing the same issue and found out the solution on my own, so I just wanted to have it posted in case someone comes across the issue later on.