thumbs not showing after upgrade

2 posts by 2 authors in: Forums > CMS Builder
Last Post: April 15, 2020   (RSS)

By webappsi - April 15, 2020

I recently upgraded from 2.5x version 3.5x. 

After the upgrade I noticed all the pictures were not showing. I checked the path for these images and noticed the url for the images are not being parsed correctly. 

e.g. if the code

<a href="http://xxxwww.com/building.php?building=<?php echo $record['name'];?>"><img src="/cmsAdmin/uploads<?php echo $upload['thumbUrlPath'] ?>" width="185" height="148" alt='' /></a><br/>

should return the following image url 

http://xxxwww.com/cmsAdmin/uploads/thumb/image.jpg

However it returns

http://xxxwww.com/cmsAdmin/uploads//thumbimage.jpg

The trailing slash is missing while another slash is prepended to the image path. 

I peeked into the database. The path is correctly defined and stored in the db table. 

Can you please advice, what might be the issue and how can this be fixed?

Thanks in advance. 

Webappsi

webappsi

By Damon - April 15, 2020

Hi,

Can you check that the Upload Folder URL in the General Settings doesn't have a trailing slash?

Go to Admin Menu > General Settings. The scroll down to Upload Folder URL

Should be set to /uploads

Let me know if that solves it.

Thanks!

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/