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

Width of image in the Detail View.
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Width of image in the Detail View.

Width of image in the Detail View. 10 Jul 2012 21:41 #617

Hello to all.
I hope that someone can help me with a little modification that I want to perform.
I would like to reduce the width in the page of datail view when I select a picture from the Category view.

I found the procedure for remove the autoadapt for picture inside article:

The images have a specific width and height in the css. You can remove it by editing:
/templates/jf_texturia/css/template.css

Class:
.article-content p img
Comment out width -> /*width: 672px;*/

Class:
.item_lead p img, .contentpaneopen p img
Comment out width -> /*width: 599px;*/


But in gallary, How I can set for example that the width of image will be 400?
I need that because with vertical picture, the view is different...

Thank you

  • Posts:6
  • Scar
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Width of image in the Detail View. 11 Jul 2012 04:08 #627

You can go to components\com_joomgallery\views\detail\tmpl\default.php line 27 :
<img src="<?php echo $this->image->img_src; ?>" class="jg_photo" id="jg_photo_big" width="675" alt="<?php echo $this->image->imgtitle;?>

change "675" to "400"
  • mars

Re: Width of image in the Detail View. 11 Jul 2012 11:52 #632

Thank you

  • Posts:6
  • Scar
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Width of image in the Detail View. 30 Aug 2013 23:00 #2867

mars wrote:
You can go to componentscom_joomgalleryviewsdetailtmpldefault.php line 27 :
<img src="<?php echo $this->image->img_src; ?>" class="jg_photo" id="jg_photo_big" width="675" alt="<?php echo $this->image->imgtitle;?>

change "675" to "400"


unfortunately there is an update of joomgallery which is totally different in source structure.
there's anyone who can help us to modify the code to solve this problem using the new release?
TIA

  • Posts:1
  • fgarganese
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Width of image in the Detail View. 03 Sep 2013 11:27 #2887

Hello,
can we have some information about the insert little picture on the article?
All the information I read on this forum are not good because we download a update version of template.
Thank you in advanse.
Regards,
--
Liliana

  • Posts:4
  • LiliS
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Width of image in the Detail View. 04 Sep 2013 07:32 #2893

To upload a picture in a article you need to use media manager, more informations about this issue you can find on joomla site or if you use k2 then on k2 site.

  • Posts:502
  • theres no place like joomfreak.com
  • m.freak
  • Platinum Boarder
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.91 seconds
Friday 26 April 2024

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.