Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By pineiden on
Hello.
i try to upload a image on a Article by imagefield
It can see only when i configure the content type - Image like "original" but if i put thumbnail or another the image disapear.
I view the folders the image styles don't generate the images, also their don't appear on the content
What can i do?
Comments
probably .. an issue with
probably ..
an issue with rights on that folders .. sites/default/files/*
try chmod
It is not the rights with chmod
I try whit 755,775 and 777 right on the folders and nothing.
And i change the route on database, and nothing
I think the Image Module didn't work
public folder
how is your img stuff configured (admin/config/media/image-styles) ?
do you use IMCE ?
Styles
The styles have default configuration and i'm not using IMCE, i'm using CKFINDER
hmm so with the WYSIWYG
hmm
so with the WYSIWYG module ?
i thought you're using an image field with a standart uploader ??
you have any error msg in the reports or in the apache log ?
It's independent because this
It's independent because this module, image styles, work with imagefield (filefield).
When i upload a image it work, but don't work the image style convert.
And i give the correct chmod permisions
sorry .. never used
image styles module ..,
got your question wrong ..
perms?
Wich user are you using to try this? I've a similar problem and solution is to give 'Administer image styles' perm
the perms are ok, maybe is
the perms are ok, maybe is the server.
I solved it creating a new text field on i only put images with a defined size
Hey guys, I don't know if
Hey guys, I don't know if this helps but I had the same problem and I worked it out with Colorbox. Just create your Image Style and then In Structure > Content Types > Manage Display select in the format Colorbox. Then it's just click on the wheel and set the image style that you created.
Worked for me...
1&1 Managed Hosting
If anyone is having the same problem on a 1&1 managd hosting packaged add the following line to the top of your .htaccess file in your root drupal install.
Not sure if it would apply to another type of hosting... but maybe worth a try.
Same issue
I got the same issue... Everything is working fine in my local when i do this in server i am facing problem with Image Styles.. If we set that original image then only it is displaying images, if i change this to any other style then no image is displaying. I was tried as specified above but no use..
/public_html/sites/default/files/styles.... No styles are there here What should i do now
Please help me
solution?
Saw this solution, but still struggling to get it working on my live site too:
http://drupal.stackexchange.com/questions/4220/image-styles-not-generate...
.htaccess problem?
I have tried everything, looked at every post and cannot find a solution.
I can download images in their original form using an image field, but if I have an image style applied it will not show.
If I try to change an image style, then the original image appears on the left but not on the right:
See image
If I click on the image on the right I get:
My .htaccess file on the root is:
The .htaccess in the files folder is:
Could anybody help?
I have tried everything but to no avail.
Hii
If you Give 777 permissions to sites/all/default/files folder then it works fine.. and also check whether your style is created or not in this path sites/all/default/files/styles
Url changes when accessing files
I have set the sites/all/default/files to 777 permissions, still not working?
I log onto the site with the url of
http://example.org.uk
That opens up the front page of my site. When I start to use some of the site functionality such as to apply an image style, then the url changes to:
http://example.org.uk/websites/123reg/LinuxPackage24/60/10/_o/6010.org.uk/public_html/users/webmaster#overlay=admin/config/media/image-styles/edit/thumbnail.
Not sure where the:
/websites/123reg/LinuxPackage24/60/10/_o/6010.org.uk/public_html
are created?
Has this got something to do with it?
I am not sure what the server is doing to change the url?
Thanks for the suggestion by the way.
a solution worked for me
i had a same problem, in my case problem was in the .htaccess file in the sites/default/files:
-----------
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
Options None
Options +FollowSymLinks
----------
i commented out 'Options None' and 'Options +FollowSymLinks':
----------
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
# Options None
# Options +FollowSymLinks
-----------
and problem solved!
# Options +FollowSymLinks -
# Options +FollowSymLinks - worked for me thanks
set proper "Public file system path "
hi struggling drupaler:
I have same issue, i have a easy solution to fix it, hope it work for you 2
it is 2 steps i did:
1. create "images" folder under the root
2. set the location of "images" folder as "Public file system path "
good luck!
possible solution
I had the same problem where images using new custom image styles could not be created.
In my case /sites/default/files/styles/category-image was set to permissions 640
I created a work around by:
1) changing the permissions to 777
2) opening the folder
3) creating a new sub directory called "public" which is expected. ie /sites/default/files/styles/category-image/public
4) changing the permissions to 777
5) Not clicking "update styles" in drupal again as this resets all sub-folder permissions back to 640.
This has to be done each time you setup a new image style.
Next test is to restrict file permissions to be more secure again.
I had the same problem and
I had the same problem and remembered that my hosting company enforces 'Options +SymLinksIfOwnerMatch' in the main htaccess file.
I amended the htaccess file in the files directory in line with the above and it worked.
You'd know if your host enforces Options +SymLinksIfOwnerMatch as your site wouldn't work.
Need to allow access to /sites/default/files/styles
With some experimentation, I've found this:
1. Create an .htaccess file in /sites/default/files/styles
2. Set the contents to this:
Should be fine.
This worked for me.
On IIS7.5 with Helicon Rewrite.
Life saver, thanks!
Check RewriteBase in .htaccess
Check RewriteBase in your .htaccess file.
On my installation, it helped setting it to
RewriteBase /
before that, it was commented out.
Original Image was to big
In my case, the original image was to big over 2000 px or 1Mo for a Jpeg. I set a maximum image size on the image field of the content type and that worked.
Check file ownership
In my case, all I had to do was change the ownership of the directories under sites/default/files/styles to be www-data instead of the admin user.
sudo chown -R www-data styles/
Thanks
It resolves the problem for me too.
This solution worked for me as well
Was struggling with this for hours. Good fix.
Thanks.