2 general questions about the template

May 2014 Joomla Template
GK User
Wed Nov 26, 2014 2:34 pm
Hi,
we are using the template "gk_university" with the K2-component and have a question about using images.
First, we don't need/want the zoom-function on the images like on this site: http://demo.gavick.com/joomla25/univers ... s-training
How can this zoom-function be turned off?

Second and much more important is the fact, that the images are renamed and stored in a different location; this must not happen, no way! We'd like to use images for articles like in the demo at http://demo.gavick.com/joomla25/univers ... nts-list-1,
so we choose ONE picture from the "images"-folder that is used for both the blog-view and the article-view like here http://demo.gavick.com/joomla25/univers ... s-training, but the problem is, that the images are being renamed (and copied to the /media/k2/items/cache/-folder).
Is there any way to avoid the images from being renamed?

When not using K2 you have to place an image inside an article, a smaller one for the preview and a larger one for the article-view. This is a roundabout way, so we do like the wordpress-like functionality of selecting a picture ONCE and use it for both views, but with renamed images this is trash, absolutely not usable. We can not use the "gk_university" template with the images being renamed.

If there's no simple way to turn off this behaviour perhaps you could tell me where to find the function that renames (and copies) the images so i can manually try to change the code to fulfil out needs.
Thanking you in anticipation,
Martin
User avatar
Fresh Boarder

GK User
Wed Nov 26, 2014 5:25 pm
Hello,

1) The zoom behaviour can be disabled by removing the following fragment from the k2.css file:

Code: Select all
.itemImageBlock img:hover {
-webkit-transform: scale(1.4);
-moz-transform: scale(1.4);
-ms-transform: scale(1.4);
-o-transform: scale(1.4);
transform: scale(1.4);
opacity: 0.85;
}


2) Unfortunately it is a standard K2 behaviour and you should ask a K2 developer if it is possible to disable it - I afraid that it won't be possible without core changes in the K2 code.
User avatar
Administrator


cron