Keyword

Image Gallery in my Blog

  • ronaldo freitas
  • ronaldo freitas's Avatar Topic Author
  • Offline
  • New Member
More
10 years 6 months ago #126582 by ronaldo freitas
Image Gallery in my Blog was created by ronaldo freitas
BLOG in order, within the K2, how do I increase the size of the gallery to 620px? I also want to take the title of the gallery image gallery "


Attachment not found



Please ask to be lighter or didactic, saying if all possible steps to configure my ncessidades.

1) Set size of images in the gallery component k2:
- I'm into categories; ok
- In that tab and / or put the new item sizes;?

2) Remove the title of the gallery:
- Where actually this file?
- Which line should I change?
- What would change.

I await response.
Thank you very much.

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #126583 by Lefteris
Replied by Lefteris on topic Re: Image Gallery in my Blog
Hi. The size of the image gallery depends on the gallery extension you are using and the CSS of your template. So the answer depends on what you are using. I cannot tell from a screenshot. A link to your site would be very helpful. Regarding the title of the gallery, if you are using K2 galleries with Simple Image Gallery then you can make a template override and just remove the text from the file.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • ronaldo freitas
  • ronaldo freitas's Avatar Topic Author
  • Offline
  • New Member
More
10 years 6 months ago #126584 by ronaldo freitas
Replied by ronaldo freitas on topic Re: Image Gallery in my Blog

Lefteris Kavadas wrote: Hi. The size of the image gallery depends on the gallery extension you are using and the CSS of your template. So the answer depends on what you are using. I cannot tell from a screenshot. A link to your site would be very helpful. Regarding the title of the gallery, if you are using K2 galleries with Simple Image Gallery then you can make a template override and just remove the text from the file.


ok, I already removed the title, but the image gallery I still can not increase. Another thing, when I call the news separately gallery aprece not.

See link: site1391258661.provisorio.ws/v2/index.php/blog/item/54-para-ver-e-se-inspirar

Blog link: site1391258661.provisorio.ws/v2/index.php/blog

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #126585 by Lefteris
Replied by Lefteris on topic Re: Image Gallery in my Blog
As i already told you the gallery is not part of K2. I suggest that you ask the developers of this gallery for help. For your second question you should again ask the developers of this gallery. However this looks like a template issue. If you call the same page with the system template you will see that the gallery is rendered : site1391258661.provisorio.ws/v2/index.php/blog/item/54-para-ver-e-se-inspirar?template=system . So obviously this has to do with your template.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • ronaldo freitas
  • ronaldo freitas's Avatar Topic Author
  • Offline
  • New Member
More
10 years 6 months ago #126586 by ronaldo freitas
Replied by ronaldo freitas on topic Re: Image Gallery in my Blog
Thank you for your explanation. I really see now that the problem is not that wonderful K2, but as I feared, I bought the template :( I do not know how to solve, because the team joomlamen not respond to emails and questions in the forum.

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #126587 by Lefteris
Replied by Lefteris on topic Re: Image Gallery in my Blog
Try to check for any K2 overrides. You will find them under templates/YOUR_TEMPLATE/html/com_k2 directory. This is where all K2 overrides are located for your template.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • ronaldo freitas
  • ronaldo freitas's Avatar Topic Author
  • Offline
  • New Member
More
10 years 6 months ago #126588 by ronaldo freitas
Replied by ronaldo freitas on topic Re: Image Gallery in my Blog

Lefteris Kavadas wrote: Try to check for any K2 overrides. You will find them under templates/YOUR_TEMPLATE/html/com_k2 directory. This is where all K2 overrides are located for your template.



If you want to abuse your kindness, but I need to solve this ...
These (images attached) would be the folders and files that are there. Any chance of knowing qualseria the file to be modified?

Attachment not found



Attachment not found



Attachment not found

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #126589 by Lefteris
Replied by Lefteris on topic Re: Image Gallery in my Blog
This is an item page so you need to look for files named item.php. Now which one of them is used in the specific page has to do with the item's category settings.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • ronaldo freitas
  • ronaldo freitas's Avatar Topic Author
  • Offline
  • New Member
More
10 years 6 months ago - 10 years 6 months ago #126590 by ronaldo freitas
Replied by ronaldo freitas on topic Re: Image Gallery in my Blog

Lefteris Kavadas wrote: This is an item page so you need to look for files named item.php. Now which one of them is used in the specific page has to do with the item's category settings.




View the cod:


<!-- Item Image -->
<div class="itemImageBlock">
<span class="itemImage">
<a class="modal" rel="{handler: 'image'}" href="<?php echo $this->item->imageXLarge; ?>" title="<?php echo JText::_('K2_CLICK_TO_PREVIEW_IMAGE'); ?>">
<img src="<?php echo $this->item->image; ?>" alt="<?php if(!empty($this->item->image_caption)) echo K2HelperUtilities::cleanHtml($this->item->image_caption); else echo K2HelperUtilities::cleanHtml($this->item->title); ?>" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;" />
</a>
</span>

<?php if($this->item->params->get('itemImageMainCaption') && !empty($this->item->image_caption)): ?>
<!-- Image caption -->
<span class="itemImageCaption"><?php echo $this->item->image_caption; ?></span>
<?php endif; ?>

<?php if($this->item->params->get('itemImageMainCredits') && !empty($this->item->image_credits)): ?>

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #126591 by Lefteris
Replied by Lefteris on topic Re: Image Gallery in my Blog
The code that renders the gallery is:
<?php echo $this->item->gallery; ?>

Ensure that the code exists in your item.php. If not you can add it. You can always look the bundled item.php at /components/com_k2/templates/default/item.php which contains the default code for item.php.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum