VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

Change size of portfolio images
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Change size of portfolio images

Change size of portfolio images 22 Sep 2014 16:58 #5491

Hi. I have a question. Can you help me to change the size of the k2 gallery items in portfolio? I can´t find where to resize the images. i need to grow the images about 30% to make more attractive

this is my webpage

www.sensacionvisual.com/galeria.html

Thanks
Last Edit: 22 Sep 2014 16:59 by padx.

  • Posts:3
  • padx
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Change size of portfolio images 24 Sep 2014 03:14 #5496

Hello,
Thank you for using our template. You should go to administrator/components/com_k2/models/items.php
find Small image and change value
$imageWidth = $params->get('itemImageS', '200');

to
$imageWidth = $params->get('itemImageS', 'your value');

joomfreak

  • Posts:2747
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Change size of portfolio images 24 Sep 2014 04:50 #5500

hi, thanks for your help. I´ve don what you say and i don´t see any effect. Is there another code that i can change in order to resize this images?

Thanks you!

  • Posts:3
  • padx
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Change size of portfolio images 24 Sep 2014 05:16 #5501

Hello,
You should go to: administrator/components/com_k2/models/items.php

find Small image and replace

from
$imageWidth = $params->get('itemImageS', '200');

to
$imageWidth = $params->get('itemImageS', 'your value size');

your value size: is your size like.
Example: $imageWidth = $params->get('itemImageS', '300');
300 we are replace from 200


You need re upload images.

Sorry my bad english.

joomfreak
Last Edit: 24 Sep 2014 05:18 by isupport.

  • Posts:2747
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Change size of portfolio images 24 Sep 2014 14:48 #5504

HI. I´ve already change width value and reupload all the photos. Is there anything i can do?

  • Posts:3
  • padx
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Change size of portfolio images 25 Sep 2014 08:33 #5508

hi,
I'm wrong type items.php. Now, You must go to: administrator/components/com_k2/models/item.php
(item.php not items.php)

find Small image and replace

from
$imageWidth = $params->get('itemImageS', '200');

to
$imageWidth = Your Value;

Your value: is your size like.
Example: $imageWidth = 300;
300 we are replace from $params->get('itemImageS', '200')

You need re upload images.


You tried go to: templates/jf_creativia/css/style.css

find: .isotope-item (line 72)

change to
.isotope-item {
width: 300px;
height: 200px;
overflow: hidden;
}



Sorry for my confusion!
Joomfreak.

  • Posts:2747
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 1.14 seconds
Monday 20 May 2019

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.