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]
Blain Smith's user avatar
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 ...
jrothafer's user avatar
  • 5,900
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 ...
Derek Hogue's user avatar
  • 17.4k
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 ...
Jelle Dijkstra's user avatar
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 ...
Bluedreamer's user avatar
  • 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?
Jelle Dijkstra's user avatar
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 ...
jrothafer's user avatar
  • 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' ...
Stéphane's user avatar
  • 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 ...
Harsh Barach's user avatar
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 ....
Craig Duarte's user avatar
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 (...
Derek Hogue's user avatar
  • 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) ...
Thomas Hartmann's user avatar
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 ...
Peter Lewis's user avatar
  • 5,353

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