Page 1 of 1

Images not showing in Company Directory [SOLVED]

Posted: Tue Dec 10, 2013 10:33 pm
by nosyguy
Searched the forums and haven't seen this addressed.

I was having issues with the module working period until I figured out that CGImages had to be installed (didn't show up as a dependency on the module manager install list).

Now, everything else is working but it is not showing any images (default image and logo).

I tried multiple image formats and have not modified the default summary or detail templates.

Ideas?

Re: Images not showing in Company Directory

Posted: Wed Dec 11, 2013 7:03 pm
by nosyguy
*Bump*

Anyone? Also having a rough time integrating CGGoogleMaps2

added this code to detail template, but no map shown

Code: Select all

{cggm2_add_dynpoint map='1' name='$entry->company_name' latitude='$lat' longitude='$long'}
{CGGoogleMaps2 map='1'}
Related???

TIA
nosyguy

Re: Images not showing in Company Directory

Posted: Wed Dec 25, 2013 6:54 am
by Wishbone
Did you mean CGSmartImage? I have it installed and can't get it to work.. I get the map, but cggm2_add_dynpoint doesn't seem to be working.

Re: Images not showing in Company Directory

Posted: Thu Dec 26, 2013 7:06 pm
by nosyguy
Yes, I meant CGSmartImage...

Still haven't had any progress on this :(

I know someone must have a suggestion!

TIA
nosyguy

Re: Images not showing in Company Directory

Posted: Fri Dec 27, 2013 5:14 pm
by nosyguy
I have narrowed this down to a problem with CGSmartimage.

If I replace the template code:

Code: Select all

 {CGSmartImage src=$entry->logo_path max_width=150 max_height=150}
with this:

Code: Select all

<img src='{$entry->logo_path}' height=150>
It shows the image just fine.

I also checked the uploads/_CGSmartImage directory and images do show up in the directory so it seems the cache is fine?

Does this help? Would really appreciate some help on this.

TIA
nosyguy

Re: Images not showing in Company Directory

Posted: Fri Dec 27, 2013 5:45 pm
by nosyguy
I turned off image embedding and now everything is working.