4
votes
Accepted
PHP 7 Error with ChannelImages: Fatal error: 'continue' not in the 'loop' or 'switch' context in…
Replace the continue with return statement.
4
votes
Can I set a minimum number of required images for a channel images field?
Currently Channel Images does not support this feature. You can request the feature for the future in our support portal. If you need it now, we are available for custom work as well. Feel free to ...
3
votes
Issue with Channel Images on local setup
I was also having this issue and found another way to fix it without updating; open third_party/channel_images/models/channel_images_model.php and edit line 525:
Make this line
$this->LOCS &= $this->...
3
votes
Accepted
HTML will not display 'if' image set as 'cover'
Here is what you want to do.
{if news_image}
{exp:channel_images:images entry_id="{entry_id}" skip_cover="yes"}
{!-- only opening HTML data on the first loop --}
{if "{image:...
2
votes
Accepted
EE3 DevDemon Channel Images fatal error when trying to render template
OK,
Here is the last email to Himanshu with DevDemon support...
Hi Brian
Ok I have found the problem from your side . You have not set
Caching driver disable but to work with Channel Images,...
2
votes
Accepted
Fatal error: Call to undefined method ChannelImagesUpdate_50400::update()
Go to line number 215 in UPD file and change the code $UPD->update(); to $UPD->do_update(); and run update the module again. :)
2
votes
Channel Entry Model how do I get file url in grid field?
You've probably already found a workaround to this, but thought I'd throw in my 2¢ for others that are trying to get models to work.
Models seem to be decent to use if you're doing simple things with ...
1
vote
Accepted
Add multiple images at once
Channel Images is not made to select pre uploaded images. Basically it does not even have any proper destination to store images. When you create an entry, EE generates Entry ID for that entry and ...
1
vote
Stored images limit per entry - Channel Images
By default Channel Image show first 30 images. If you want to display all of them you need to set a limit higher than your total number of images.
See Doc - limit
limit - This parameter limits ...
1
vote
Stored images limit per entry - Channel Images
For the channel images field where you're hitting the limit, go to the field settings:
Channel Fields > Your_field > Fieldtype Settings (tab) > Image Limit
and set as blank for unlimited images.
1
vote
1
vote
Where do I install DevDemon's Channel Images in EE 3.3?
EE 3's folder structure is organized slightly differently than EE 2. You'll need to copy the "system/expressionengine/third_party" files to "system/user/addons/" and your "/themes/third_party/" to "...
1
vote
Can I export Channel Images data to Grid?
Here's one method I use for similar scenarios.
The first step would be to get your Channel Images data into a CSV or XML document. To do that create a template to output the data you need to export ...
1
vote
Accepted
Can't output Channel Images data with Stash
The variables inside get_list should not be prepended with stash: - You only do that when you're getting or setting a single variable directly, but it's your parent get_list tag which is doing the ...
1
vote
Accepted
1
vote
Add custom class when inserting images in Wygwam field
One approach is to define a custom style for the "Styles" toolbar menu in Wygwam. When the user applies the style (just a couple clicks) Wygwam applies your css class to the images as desired. The ...
1
vote
Showing Channel Image gallery IF there's more than 1 images?
I have a solution below for you so what I have done is test 3 things
1.) If there is more than 1 image do the gallery code only displaying the div html if the gallery exists so the first time it ...
1
vote
Cannot delete channel image
You can only delete images if that was the place it was originally uploaded. Once an image is uploaded it can be "linked" from other entries. Since that is not the original entry where the image ...
1
vote
Listing the channel name with an image in Channel Images?
Yes you can, but you would need to look up the channel name.
If you use the {exp:channel_images:images} tag you will see a variable {image:channel_id}.
This can be used to look up the channel name ...
1
vote
Submitting data to Channel Images from outside EE
I'd start by looking at the Channel Form.
https://ellislab.com/expressionengine/user-guide/add-ons/channel/channel_form/
It is designed for creating front end forms to input/edit channel entries ...
1
vote
Channel Images - Call to undefined method stdClass
I ran into the same error. It was caused by having Imagick upload actions set for some Channel Images fields but not having ImageMagick itself installed on the new server. Once I installed ImageMagick,...
1
vote
Accepted
Channel Images in Wygwam, images dissapear
I had to set 'Restrict allowed HTML' to no in my Wygwam fieldtype. That did it.
1
vote
Accepted
Display entry title related to (channel images) image if exists
Yup, that's the way. I hope someone can post a better answer, but I have nivoSlider live on several sites, and here is my implemented code off of one of them:
<div class="slider-wrapper theme-...
1
vote
Channel Images - order by image ID?
You can use the "orderby" parameter.
{exp:channel_images:images entry_id='{entry_id}' orderby='image:id' sort='asc'}
See: http://www.devdemon.com/documentation/tag/images/
UPDATE 1: If you want ...
1
vote
Unable to upload images with Channel Images: Uncaught TypeError in Console in CP
Something in jQuery is failing on your install. Make sure you are up to date with ExpressionEngine, so that you can rule out a bug in EE. If that doesn't fix it, reinstall Channel Images and make sure ...
1
vote
502 bad gateway with large amount of channel images images
I had a similar problem with 502 Bad Gateways, but in my case it was for AJAX requests. The following nginx directives worked for me;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
...
1
vote
502 bad gateway with large amount of channel images images
Try next settings for nginx:
client_max_body_size 10m;
client_body_buffer_size 128k;
fastcgi_connect_timeout 90;
fastcgi_send_timeout 180;
fastcgi_read_timeout 180;
fastcgi_buffer_size 1024K;
...
1
vote
Moved server, now photos don't display
It turns out that multiple problems were involved. The list of steps in my original post cleared up some of them, while others were simply the result of people renaming, deleting or overwriting photos ...
1
vote
Accepted
Is there a maximum number of images for Channel Images?
You need to explicitly set a limit parameter higher than 30 (i.e.: limit="500"), as Channel Images defaults to 30 max (similar to how EE Channel entries defaults limit to 100):
From the docs:
This ...
1
vote
PHP error when uploading images using DevDemon Channel Images
I had created a CI field, and the first Size/Action I created was Watermark (Image). I then added a Resize (Adaptive) action to this.
Uploading an image brought up this error.
I then removed the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
channel-images × 119devdemon × 28
ee2 × 10
image × 8
wygwam × 7
conditionals × 5
error × 5
matrix × 4
safecracker × 4
php-errors × 4
stash × 3
relationships × 3
file-uploads × 3
ee3 × 3
multi-site-manager × 3
grid × 3
jquery × 3
query × 3
resize × 3
expresso-store × 2
channel-entries × 2
playa × 2
add-on × 2
pixelandtonic × 2
channel × 2