[SOLVED] CGBlog missing images
Posted: Tue Apr 28, 2015 12:47 pm
Hello,
I made a website (CMS 1.12 version) on a local WAMP server and everything works perfect, including CGBlog module.
However, when I move the site to a webserver, there seems to be a small problem. Images that were attached to blog entries are not showing up (though they are uploaded, I see them in folders). Even if I create a new blog entry, it seems that there is problem with the image path. It does upload the image, but it does not display it. When I view the page source, I see that the img src is empty. This is the line from blog template and it works on my local WAMP server:
So I guess the problem is with the path, but I have no idea what and where I need to change, so that it works online just as it works on WAMP server? I tried to reinstall CGSmartImage module, but that does not help.
Maybe I need to change settings in Calguys Smart Image Toolkit general settings?
Relevant modules installed:
CGBlog 1.12.9
CGExtensions 1.45
CGSimpleSmarty 1.7.4
CGSmartImage 1.17.2
I made a website (CMS 1.12 version) on a local WAMP server and everything works perfect, including CGBlog module.
However, when I move the site to a webserver, there seems to be a small problem. Images that were attached to blog entries are not showing up (though they are uploaded, I see them in folders). Even if I create a new blog entry, it seems that there is problem with the image path. It does upload the image, but it does not display it. When I view the page source, I see that the img src is empty. This is the line from blog template and it works on my local WAMP server:
Code: Select all
<img src="{CGSmartImage notag="1" src1=$path src2=$image filter_croptofit="600,300,c"}"/>Maybe I need to change settings in Calguys Smart Image Toolkit general settings?
Relevant modules installed:
CGBlog 1.12.9
CGExtensions 1.45
CGSimpleSmarty 1.7.4
CGSmartImage 1.17.2