Plugin

Developer
Supported

CE Image

ExpressionEngine 1.x, ExpressionEngine 2, ExpressionEngine 3

Back to this add-on's main page
View Other Add-ons From Causing Effect

     

You must be logged in to post.

P&T Assets and CE Image problem

Support (Resolved)

bluebloc
bluebloc

HI

I am running EE2.6.1 and MSM in addition to P&T’s Assets (2.1.4) and CE IMage (2.4.4). I have confirmed that CE Image is getting eough php memory and that the msm base paths are correct. The directory permissions are also correct.

My problem is that CE Image is not generating any images from within the Assests field tag. CE IMage will resize images if called using a simple file custom field but not from an Assets custom field. I have reviewed the forums and tried to address the problem as per other users but to no avail.

The template code I have tried includes ({gallery_images} is the Assets custom_field):

{gallery_images limit="1" var_prefix="file" parse="inward"}
{exp
:ce_img:pair src="{file:url}" width="150" height="150" debug="on"}
<img src="{made}" alt="{file:alt_text}" width="{width}" height="{height}" style="margin:10px 10px;border:1px solid #b9d08a;" />
{/exp:ce_img:pair}
{
/gallery_images} 

and

{exp:ce_img:pair:blah src="{gallery_images:url}" width="150" height="150" allow_scale_larger="yes" parse="inward" debug="on"}
<img src="{blah:made}" alt="{gallery_images:alt_text}" width="{blah:width}" height="{blah:height}" style="margin:10px 10px;border:1px solid #b9d08a;" />
{/exp:ce_img:pair:blah} 

and

{exp:ce_img:bulk parse="inward" debug="on"}
{gallery_images var_prefix
="file" limit="1" parse="inward"}
 
<img src="{file:url}" alt="{file:alt_text}" width="150" height="150" />
{/gallery_images}
{
/exp:ce_img:bulk} 

Template Debugger shows that the base or relative paths might be incorrect but I have changed the config file to read the correct base path and still the same problem.

Many Thanks

 

bluebloc
# 1
bluebloc

Doh! It was the ce_image_src_regex value in config.php

All sorted now.
Thanks

Causing Effect - Aaron Waldon
# 2
Developer
Causing Effect - Aaron Waldon

Hi bluebloc!

I’m happy to see that you got this sorted out so quickly. :)