Jump to content

Croppable Image 3


horst

Recommended Posts

Thanks a lot for your reply.  This is the result:

1033 
 news->name 
title 
headline 
summary 
kategorie 
body 
images 
  count: 2
Pageimage

The error was probably because I had never before created a new field with the fieldtyp CroppableImage3. Because I already had some images fields, I have only changed the input field type of the existing fields and not created a new one. After I had created a test field with the fieldtyp CroppableImage3, the other fields now work as desired.

printscreen.PNG

  • Like 1
Link to comment
Share on other sites

On 19/10/2016 at 2:26 PM, horst said:

If you want to give the user the possibility to choose from different formats for one single place, you need a special setup with e.g. pagetable or the ProFields Repeater Matrix wrapped around the image field.

Hi Horst,

I've wrapped a repeater around my image and bullet selection (The user can thus choose which cropping to use). It works when I upload an image for the first time, it creates 4 standard croppings (panorama, portrait, etc.). However, if I make a custom cropping it doesn't save it. I'd actually want the custom cropping to overwrite other files, but that doesn't work either. 

Is there a known issue between croppable image 3 and repeaters? Should i use ProFields Repeater Matrix (haven't tried it so far). Pagetable is also a possibility, but not as intuitive and fast as a repeater.

Thanks for your help!

David

Link to comment
Share on other sites

I'm not aware of any issues with repeaters or repeater-matrix. (Repeater-Matrix would do no change, I believe, as it somehow extends repeater)

Custom cropping is made for which user / role. Does he have the right permission added to his role?

Link to comment
Share on other sites

23 hours ago, horst said:

I'm not aware of any issues with repeaters or repeater-matrix. (Repeater-Matrix would do no change, I believe, as it somehow extends repeater)

Custom cropping is made for which user / role. Does he have the right permission added to his role?

I tested even without the repeater and I get similar errors. So I think we can leave the repeaters out of it. Permissions are OK.

I tried to recreate the issue (can't tell yet exactly when it works and when not). 

I created 4 cropping-presets. These create the 4 croppings automatically. So far ok. When the user (whichever) creates a custom cropping, the new cropping doesn't overwrite the old one. Or I should rather say, sometimes it does, but most of the times it doesn't.

Workaround is to delete the generated croppings in the "variations" window prior to creating a custom one. This works, but it's not a nice solution for the end user.

Am I the first one reporting this bug?

Thanks.

Link to comment
Share on other sites

2 hours ago, lenoir said:

Am I the first one reporting this bug?

I wouldn't consider it a bug of the croppable image module, as this seems to be only at your server (setup).

Please provide the exact reproducable steps you have done, incl. installing and configuring the module. (You may try this by yourself in a test account, and if this behaves as you described, tell us the steps here, so that we will be able to reproduce it.)

What does "Permisions ar OK" mean, exactly?

Link to comment
Share on other sites

On 9/3/2016 at 7:59 PM, horst said:

Or directly use the markup srcset module from @tpr and only pass the master to it!

Just tried this and it works:

<img <?php echo $page->portfolio_images->first()->getCrop('portfolio-item')->srcset('portfolio-item'); ?> class="lazyload" alt="">

This was the first time I added CroppableImage to a project and it seems great. Some UI facelift here and there could be beneficial though :)

  • Like 3
Link to comment
Share on other sites

10 minutes ago, tpr said:

Could it be that for square image crops, only width to add, and use that for the height too?


portfolio-item-small,360

 

What is the intention of the question? Lesser to write? Or something other?

Link to comment
Share on other sites

No, it should work with whatever PW accepts via installed ImageRenderingEngine-Modules.

Your Image is black. How work this image out with api rendered image variations? What is the source image type(s)? Is it with all images, regardless of type / format?

Link to comment
Share on other sites

HI,

Has anyone encountered quality issues with the croppable module? 

I know I'm very picky when it comes to image quality, but I'm getting pretty bad results and I'm wondering what i can do about it. I've tried no sharpening, sharpening soft, quality 90 and 80, but the images still look "pixelated", specially in the diagonals. 

See screenshot attached. Original left, cropping on the right.

image_quality.jpg

Link to comment
Share on other sites

CroppableImages uses the core images rendering engines. So there is no special "Croppable image rendering".

Your original image left is very blurry, and the one on the right site is much to much sharpened. Please try a variation with sharpening soft or none.

  • Like 1
Link to comment
Share on other sites

2 minutes ago, horst said:

Your original image left is very blurry, and the one on the right site is much to much sharpened. Please try a variation with sharpening soft or none.

Yes, I'm aware of that. That's my issue. That's what I get with sharpening set on SOFT. 

Are the core rendering engines just not that good? 

Link to comment
Share on other sites

22 hours ago, lenoir said:

Are the core rendering engines just not that good? 

Based on my experiences with

  • several thousand images of mine,
  • several thousand images of my customers
  • and many image variations from many sites around the world (from the showcase directory),

I can say: The core rendering engines seem to do a pretty good job !  ^-^:lol::ph34r:

But that are just my experiences. ;)

  • Like 2
Link to comment
Share on other sites

Just upgraded to PW 3.043 dev and getCrop() doesn't seem to work (returns NULL). Downgraded to 3.042 and no issues.

I've downloaded a fresh copy of both PW versions so 3.043 should contain Ryan's fix too.

Anyone having the same issue?

Link to comment
Share on other sites

I'm not sure if this is the intended functionality: 

When I click to edit a crop under 'predefined Crops', the overlaid 'marquee' always reverts to the far top left of the image, even when I move it around and click 'Crop and go'.

I know the crop has saved correctly because I can hover the button and see a thumbnail appear.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...