Hot answers tagged

4 votes
Accepted

Redirecting requests for SVG thumbnails?

A RewriteRule with a regex should do the trick. RewriteRule ^/assets_content/_thumbs/?\.svg$ /assets_content/$1.svg [NC,L]
3 votes
Accepted

File Upload urls have //chroot added to the url

The image problem is usually caused by the setup at your hosting provider (Nexcess?). I believe you can fix this by setting the correct base path for CE Image, as described here. EDIT: And this is ...
  • 337
2 votes

Repositioning images

You could crop them in the template to make them the correct size / aspect ratio. Here's a free addon for that: https://github.com/bjornbjorn/img.ee_addon
2 votes
Accepted

Images in rich text area

The easiest solution would be to use an addon custom field type that is better suited to your needs. This is the one I use: https://devot-ee.com/add-ons/wygwam It gives you more of a WYSIWYG-style ...
  • 5,900
2 votes

How can we include multiple images on a page?

If this is regular File field, then you can only upload only file to it. If you need multiple files within one field, it is best to set up Grid field with one column being File field. This will ...
  • 2,846
1 vote

Best way to tie images to entries?

Images attached to entries via a File field in ExpressionEngine aren't treated as relationships (unlike, say, Assets fields). They simply hold a text value like so: {filedir_X}filename.jpg It's not ...
  • 17.4k
1 vote

Upload Image/File Modal Empty, Potential JS Error in index.php?

It looks like something may be tripping up a mod_security rule on the server, that can happen from time to time if the rules are too strict. How to check: Make the error happen using the field, make ...
  • 1,577
1 vote
Accepted

FreeForm Pro iOs file size too large, how to allow larger images or constrain/resize

have you checked your php max upload filesize?
1 vote

How do I add .jpf mime type to config.php?

There is a configuration override you can use here: https://docs.expressionengine.com/latest/general/system-configuration-overrides.html#mime_whitelist_additions Just use that in your config file to ...
  • 5,900
1 vote

Not seeing alt tag content for images

You could create in the Field Manager of the Control Panel an 'alt' channel Field, and place it inside your template. {exp:channel:entries channel="test" limit="10"} <img src='image.png' ...
  • 885
1 vote

Assigning default images to a channel

Yes, off-course it is doable. For this you need to create Template Variable for storing the placeholder image. You just need to call this placeholder image when there is no image in file field. You ...
1 vote

Memory exhausted when uploading images

Your php.ini could be overridden somewhere. Check Tools > Utilities > PHP Info to see if there are any local values that don't match your php.ini If you're on Apache try looking for a ....
1 vote
Accepted

EE3 Image cropping when image is uploaded

The issue here is that your syntax is incorrect in a few ways. Within a File field tag pair you should not prefix variables with the parent tag (banner:). You should not include the directory name (...
  • 17.4k
1 vote

Solution for cloud hosting images on EE3?

there is a brandnew add-on called treasury wich supports assets storage on S3. https://buzzingpixel.com/software/treasury It is also compatible with Ansel (https://buzzingpixel.com/software/ansel-ee) ...
1 vote
Accepted

Fetch first image of entry?

I've assumed when you refer to "The images are just inserted in the entry" and "So the body-field of an entry", that you are referring to a single text/wysiwyg field in the entry. You won't be able ...
  • 5,353
1 vote
Accepted

Color issue on native image manipulation

By default I think EE sets the quality of the image at 90 You could try editing system/codeigniter/system/libraries/image_lib.php LINE 36 and change the var $quality to 100 Other than that if you ...
1 vote

Color issue on native image manipulation

I've seen odd things happen with images when the color profile is set to something other than sRGB. Check to make sure the color profile is using sRBG and not something like Adobe RBG or ProPhoto RBG. ...
  • 398
1 vote
Accepted

Expression Engine file manager - Error on browsing uploaded images

I just encountered this issue last week, and EllisLab confirmed it as a bug that can present itself under certain conditions (related to a special character in a file name causing json_encode() to ...
  • 17.4k
1 vote

Images are gone with membergroup

Ok, very weird but also understandable. I had to give permissions in the File Upload Perferences. Its odd because the membergroup "members" is allowed and for a new membergroup that is based on that ...
  • 525
1 vote
Accepted

CE Image + Assets + S3 = Really Long and Ugly URL

I know this issue has been addressed multiple times in the support forums (and possibly already on EE Stack Exchange), but hopefully answering here too will be helpful to others down the road: The ...
1 vote
Accepted

Photo Frame add-on -- customize alt attribute?

You can use the same template code as before. Just need to add {item_photo:url} <div class="item-photo"> <img src="{item_photo:url}" alt="{title} photo"> </div>
  • 5,781
1 vote

Any way to restrict image size on upload?

From what i understand from your question you need Ansel: https://buzzingpixel.com/software/ansel-ee We had some issues getting this to work with Zurb Foundation though. We implemented a solution with ...

Only top scored, non community-wiki answers of a minimum length are eligible