How to select where in the image the thumbnail will show - ruby

I've done a lot of research on this subject, but could not find anything.
I want to make a thumbnail similar to the way it is done on Facebook.
You upload your picture and select the area in the photo the will show on the thumbnail version of the image.
I have looked at the documentation for the ImageMagick (RMagick) and Paperclip gems for Ruby on Rails and I do not think they have this feature.
Is there a gem for this? How should it be done?

Related

Force image extension on right click save

I'm having some issues with images on my site which I'm downloading from an image delivery service.
They're displaying perfectly fine, but the issue comes if a user tries to right click and save the image. The images seem to be leaving off the image extension. Is there any way to force the image to download as, say a jpg? I've looked at the download attribute, but I think that's only valid on links, so it's not valid in this case.

Magento Blurry Pictures in the Recently viewed products

I have an issue with Magento. My pictures work well in every sections but in the **recently viewed products I get a blurry result. I don't understand why because in the catalog I have the same pictures using the "small_image" that display fine without being blurry. I guess the reason is because the picture is resized to be small then resized again to be bigger, PLEASE how can I fix that.
I attached a screenshot showing the resize and how blury the pictures are.
THANKS in advance for your help !!
Picture : Blurry Image and resize
I have encountered similar issues where the image is either blurry or suffered from color loss. After digging in, i found out that Magento uses the GD library out of the box which works pretty well, but there are alternatives out there. The library that solved my problems was ImageMagick. It does require you do install a php extension though and some code changes, but the results are worth it.
http://php.net/manual/en/book.imagick.php
Did you try to change the quality to 100% under Configuration/Advanced/System/Images Upload Configuration? You need to clean the Catalogue image cache after.

How to make thumbnails in wordpress play audio after click through stratus

I probably searched through the entire web but couldn't find any help on this. Before I ask the question I must mention that I am a complete novice in web development.
I went through a lot of websites that enable you to play audio through stratus after clicking on a thumbnail. Although websites like indieshuffle.com and themusicninja do not use stratus, I was wondering how they get their photos to play songs in their audio players.
Similarly, I don't want my thumbnails to link to the post but instead I want people to play the corresponding soundcloud track after clicking on the thumbnail. Also, if it is possible to have play/pause buttons on the thumbnails it will be great.
Of course, I have ajax and stratus as well as the full width audio player installed as plugins.
I am guessing this has to do with embedding the shortcode for the track somewhere in the image.
Please help!!!
since you are complete new your best bet here is an album plugin or something
that will let you attach an image and have a mp3 file to relate to, and be displayed without much knowledge in coding.

Resize Images in Magnolia CMS 5.0 (Not cropping)

Does anyone know how to resize an image in Magnolia CMS 5.0 without cropping it? I have handled to work with the Assets module and the options that it provides for adapting images to my preferences. However, it just provides (as far as I know) the option to crop and zoom those images. I wonder if that module is configurable to show those options? I attach a screnshot with the options that I can see in the Assets module. Thanks in advance!
This might sound a bit odd, but the image editor doesn't resize images.
Instead, Magnolia is designed with the idea that editors will upload a single high-quality images and that Magnolia will generate variations of the image as needed by the site design.
Check out http://wiki.magnolia-cms.com/display/DOCS/Responsive+Web+design#ResponsiveWebdesign-Optimizedimages for more details.
Also, if you want to get more timely answers, I'd recommend posting your questions to the Magnolia forums: http://forum.magnolia-cms.com

Yootheme widgetkit video and image gallery?

I am trying to find a way to play videos inside a yootheme widgetkit gallery.
Currently I am only able to show images, but i want to also have vimeo videos added to the slideshow...
Any thoughts please help.

Resources