expected result thanks !!!
Bartonsweb wrote: Hello fellow couch enthusiasts
The native thumbnail works fine, but it doesn't leave much room for customisation, it allows 6 positions to choose from to select the crop and that's it. This is okay, I mean it does work - but it's not very friendly to users, especially when the portion of an image you wish to be in the thumbnail doesn't fit within the pre-defined cropping regions, also it doesn't allow for resizing the image into the thumbnail (If you wish to do that).
So I am here to present my solution to you all: JCropthumb
You think will be possible to use this addon to manually crop also images and not only thumbnails?
'maxImageWidth' => 0,
'maxImageHeight' => 0,
You think will be possible to use this addon to manually crop also images and not only thumbnails? Actually many images are taken with digital cameras with very hight resolution and usually needed to be resized but resize is not ever the best solution.
desc='Carica qui la tua immagine'
<cms:show image />
Bartonsweb wrote: @fabio,
Sorry, this addon won't work in repeatable regions, please use the normal type "Thumbnail" inside the table. I expect you don't even see anything in the repeatable table for the jcropthumb editable you defined.
As a workaround we can do this -You think will be possible to use this addon to manually crop also images and not only thumbnails?
KK wrote: @fabioferrero, @Bartonsweb,As a workaround we can do this -You think will be possible to use this addon to manually crop also images and not only thumbnails?
a. define a region of type 'image', as we normally do, but do not set any width or height - basically it should accept whatever image is uploaded without trying to process it.
b. define a region of type 'jcropthumb' attaching it to the image above. Set whatever constraints you want for your final image on this region.
Now instruct the user can manipulate the image in the 'jcropthumb' region.
On the frontend, don't use the main image - rather use the image outputted by the 'jcropthumb' region.
So basically now we'll be using the thumbnail region as the main image and the 'image' region would just serve to hold the pristine original.
How does that sound?
In total there are 3 users online :: 1 registered, 0 hidden and 2 guests
(based on users active over the past 5 minutes)
Users browsing this forum: Google [Bot] and 2 guests