I used file path modules to "create" different directories for my images. After applying it to a content type field nothing worked, an my images do not show. The initial path was /sites/default/files and was chaged to /sites/default/files/sites/default/files/images and images do not show.

How can i revert the certain field in my content type to "read" images from /sites/default/files ?

my site is axristologio.gr and in the first block you can see what i mean.

Thanks in advance!

PS. Any new content created works fine.

Comments

deciphered’s picture

I'm not sure that I quite understand exactly what you are saying, perhaps some example configuration and/or screenshots to show the issue.

mkapst’s picture

Status: Active » Fixed

Thank you for your interest. I found the solution.

What i mean is that after installing the module the path to images changed (from public://image1.jpg to public://sites/default/folder/image1.jpg) and even though there were images they weren't displayed.

So, i logged into the database took a backup and then edited the sql file. I replaced every "public://sites/default/image/folder/" with "public://" imported the new database and everything is fine again.

Thank you once again!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.