Hot answers tagged

19

I'm the author of CE Image and a long-time EE user. I'll try to be impartial in my response, as both methods definitely have pros and cons. Native Pros The manipulations happen 1 time, up front. You can regenerate the images anytime you need. You can set up multiple sizes. It's free (well, you get it with the EE license). Native Cons If the sizes ever ...


12

This has always worked for me: {exp:ce_img:single src="{url}" width="200" height="200" crop="yes|center,center" } You can obviously add any additional paramaters (offset, filter, etc), but give this simple example a shot and try adjusting from there.


8

You can use jQuery with .insertBefore() or .insertAfter() to accomplish this. If you want to insert the image after the first paragraph, use something like: <div class="article"> {article} </div> $('{custom_image_field}').insertAfter('.article p:first-child'); If you want it elsewhere, just adjust your selector (ie: '.article p:first-...


8

Do you have the latest version which is 2.6.4, if not upgrade and see if that solves your issue. Are you aware that this plugin is no longer in development and that it is effectively abandonware? For a more robust solution that is actively developed and supported by the developer I would recommend CE Image additionally the documentation is second to none ...


7

Have you looked at CE_img (http://devot-ee.com/add-ons/ce-image) ? It doesn't allow the uploader to crop the image but you can apply some parameters to crop and specify whether you crop from the centre, edge etc. It also lets you resize and apply effects to the images as well as caching them. On the whole it's very useful.


6

Your option is a good one and not hard at all. Instead of expiring the entries, I would future date them and set limit="1" on your channel:entries tag. This way an entry will always appear. With expiring you risk human error causing an image not appearing.


5

I tested this on 2.5.5 and it doesn't work. I noticed a few posts in the forums that EL staff said this might not even be available. There was one forum post which I wasn't able to read because it was for "development preview" members so, I wonder if that is the fix being tested or something. I can agree with Michael in that it does in fact create the ...


5

Channel Images can do that and a lot of other neat stuff: http://www.devdemon.com/documentation/channel-images


5

The CE Image plugin has a watermark functionality (and much more), check 'watermark' on this page: http://www.causingeffect.com/software/expressionengine/ce-image/user-guide/parameters


4

The best way to fight with email spam is to have good spam filters :) set emails to be automatically converted into images, with hyperlinks beneath Spiders is not looking on visible text only but on hyperlinks also, so is not enough to replace text only. You can try MD Spam Me Not or Obfuscatee - this addons is do emails obfuscation.


4

Another simple idea... Name your images like this: December-1.jpg December-2.jpg December-3.jpg Manually upload the images to the server... in your template call image like this: <img src="/path/to/images/{current_time format="%F-%j"}.jpg"> The image for the current day will always be called. EE date formatting options are here: http://ellislab....


4

Image zooming is a front-end/template issue, so you can do whatever you want. Just follow the instructions of the jQuery plugin you want to use.


4

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


3

Would something like this Image Editor add-on work for what you need? http://devot-ee.com/add-ons/image-editor Another solution might be add select fields to allow the client control the crop position parameters for CE Image. For instance, if you had a select dropdown field called {horizontal_crop} with the values "left, center, right" and another ...


3

If there's something unique per-image in the Channel Images output (assuming your gallery is just a dump of all images assigned to the field), you should be able to append that unique value to your entry_title, right? filename="{url_title}_{image:id}" It's not something I've done, but I'm assuming you can do more with the filename parameter to make those ...


3

ExpressionEngine have Path Constants. You can use PATH_THIRD_THEMES. You should have image path like: $img = "<img src='".PATH_THIRD_THEMES."IMAGE_NAME' />"; I hope, it would help you.


3

I doubt there is way to do this natively. You'd need to look at a naming convention to match the variation name to the image as you noted and jQuery to do the switchout. I have an example on a non-Store site that may help you get started. The image switch on this site happens when you click on the thumbnails at the bottom left of the product detail. This ...


3

Hop Inject, though I've never used, is geared more towards ads or ad like images (images unrelated to content). Do you just want images related to content? If so, than almost any of the WYSIWYG field_types could be used and will allow images to be uploaded and inserted into copy/content without knowledge of HTML. I'd say, WYGWAM by Pixel & Tonic is ...


3

Most likely some issue with the GD library. Check for errors for further hints: Image Resizer doesn't output errors but logs them in the Template Parsing Log. You can turn that on in the CP at Admin → System Administration → Output and Debugging and switch Display Template Debugging? to yes. (As CreateSean notes, this plugin is basically vaporware....


3

Doing a test on my local machine, I'd declare this to be a bug. I see that the resized image used for the category image gets created, but when I reference it by the image manipulation name specified in the Upload Pref I just get "{category_image:manipulation_name}" rendered out into the source code while removing and just using {category_image} works fine. ...


3

I built Pointee a while back, should cover a fair amount of what you need. http://devot-ee.com/add-ons/pointee Looking forward to the pull requests :)


3

Check that the images are actually of the type uploaded. The error is suggesting they're not valid JPEGs, so it's worth checking they've not been saved as, say, a PNG file and renamed to JPEG. Alternatively, the file could be corrupt either at your or the server end. Finally, if part of the file has been written it's possible the disk is full at the ...


3

As I know, is no EE add-ons which can completely help you to get what you want. Possible solution: Upload file using any of exist EE add-ons, make manipulation with exist option (width, height, crop etc.) Then setup on the server CRON job with batch which will run couple times per day and check if new files in upload folder exist. For new files needs to ...


3

Your syntax is not following the user guide's instructions. http://ellislab.com/expressionengine/user-guide/modules/channel/grid.html#template-tags You need to add the prefix for each column. {images} <img src="{images:file_url}" alt="{images:caption}" title="{images:caption}" /> {/images}


3

If you don't want to use channels, use low variables with a grid field with days of the week as the grid rows. Give each a file upload field and an alt field then use some logic on the template to get the day and call the low var for that day. Simple example, not verbatim code purely reference Grid field: date_1 | imgxx | alt title date_2 | ...


3

I've had great experience with masonry very simple to implement and is responsive as well. If you are wanting categorized photos i would set up a single channel for each image. That way you could categorize the images and display different ones depending on the filter that is activated on the site. I wouldn't put a set hight and width to the images with ...


3

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 an example of how to set it at Nexcess: $env_config['ce_image_document_root'] = '/chroot/home/account/domain/html';


2

This works for me, tested in EE2.5.5 and Matrix 2.4.1 {my_image_file} {url:150x100}, {height}, {width} {/my_image_file}


2

In addition to the options already listed, Hop Studios has created an "Inject" addon to do exactly what is being asked (just float the inserted element): http://devot-ee.com/add-ons/hop-inject


2

I accomplish this all the time with a Matrix field and NSM Transplant. Basically, you upload your images row-by-row in a Matrix field, then insert tokens (like {image_1}, {image_2}, etc) into your content area where you want the images to appear. NSM Transplant then replaces these with your images when rendered on the front-end. This tutorial video should ...


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