- Posts: 5
COMMUNITY FORUM
- Forum
- Free Joomla Extensions & Templates
- Simple Image Gallery
- I don't want to see the Filename of the Picture (new version)
I don't want to see the Filename of the Picture (new version)
- James Lee
-
- Offline
- New Member
Thanks, I considered that, but then you are left with a lot of white space below the image. I know that you can also use CSS and negative margins to close up that space, but when cycling through your images the pop-up expands height-wise as if the text was there, then collapses. Not the most elegant way to solve this.
Please Log in or Create an account to join the conversation.
- James Lee
-
- Offline
- New Member
- Posts: 5
I commented out this line ...
/* d = f('<div class="fancybox-title fancybox-title-' + c + '-wrap">' + e + "</div>"); */
... and added ...
d = f('');
Hope this helps anyone else that needs to remove this text.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Yes of course you can also do that but your changes will be lost when an update is out.
Please Log in or Create an account to join the conversation.
- cwgrant
-
- Offline
- New Member
- Posts: 3
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Hi. Is there a link to your site?
Please Log in or Create an account to join the conversation.
- cwgrant
-
- Offline
- New Member
- Posts: 3
Yes...it is www.wasatch100.com
Go to Photos in the top menu and click on 2013 photos.
Or...this will take you there directly: wasatch100.com/photos/2013-photos
Thanks for any help you can be on this.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Please Log in or Create an account to join the conversation.
- cwgrant
-
- Offline
- New Member
- Posts: 3
plugins/content/jw_sig/jw_sig/tmpl/classic/default.php
I changed the string JW_PLG_SIG_YOU_ARE_VIEWING to Photo provided by
That took care of it and it works like a charm. I realize this may be one of those changes that I will lose if I ever upgrade but I can always go back and change it again.
Claude
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Please Log in or Create an account to join the conversation.
- Wladyslaw Wojciechowski
-
- Offline
- New Member
- Posts: 11
In which file one should make these changes?
Regards,
Wlady
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Hi. If the change concerns CSS code you can even place it in your template's CSS file.
Please Log in or Create an account to join the conversation.
- Alexander
-
- Offline
- New Member
- Posts: 1
First of all, sorry about my poor english.... :)
I read all your instructions in how to remove "you are viewing the image with filename"
]but i could not remove the phrase without crash the pluggin !! for my lucky i got a backup first of the default.php file !
Would you please be more especific in how will be the final code after removing what you said before ?
BELOW is the original CODE:
WHICH part must be removed specifically ? How would be the FINAL CODE ?
SORRY About the Newbie question, but i´m not a PHP especialist....
<?php
/**
* @version 3.0.1
* @package Simple Image Gallery (plugin)
* @author JoomlaWorks - www.joomlaworks.net
* @copyright Copyright (c) 2006 - 2014 JoomlaWorks Ltd. All rights reserved.
* @license GNU/GPL license: www.gnu.org/copyleft/gpl.html
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<ul id="sigFreeId<?php echo $gal_id; ?>" class="sigFreeContainer sigFreeClassic<?php echo $extraWrapperClass; ?>">
<?php foreach($gallery as $count=>$photo): ?>
<li class="sigFreeThumb">
<a href="<?php echo $photo->sourceImageFilePath; ?>" class="sigFreeLink<?php echo $extraClass; ?>" style="width:<?php echo $photo->width; ?>px;height:<?php echo $photo->height; ?>px;" rel="<?php echo $relName; ?>[gallery<?php echo $gal_id; ?>]" title="<?php echo JText::_('JW_PLG_SIG_YOU_ARE_VIEWING').' '.$photo->filename; ?>" target="_blank"<?php echo $customLinkAttributes; ?>>
<img class="sigFreeImg" src="<?php echo $transparent; ?>" alt="<?php echo JText::_('JW_PLG_SIG_CLICK_TO_ENLARGE_IMAGE').' '.$photo->filename; ?>" title="<?php echo JText::_('JW_PLG_SIG_CLICK_TO_ENLARGE_IMAGE').' '.$photo->filename; ?>" style="width:<?php echo $photo->width; ?>px;height:<?php echo $photo->height; ?>px;background-image:url(<?php echo $photo->thumbImageFilePath; ?>);" />
</a>
</li>
<?php endforeach; ?>
<li class="sigFreeClear"> </li>
</ul>
<?php if($itemPrintURL): ?>
<div class="sigFreePrintMessage">
<?php echo JText::_('JW_PLG_SIG_PRINT_MESSAGE'); ?>:
<br />
<a title="<?php echo $row->title; ?>" href="<?php echo $itemPrintURL; ?>"><?php echo $itemPrintURL; ?></a>
</div>
<?php endif; ?>
THANK YOU in ADVANCE
@
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
title="<?php echo JText::_('JW_PLG_SIG_YOU_ARE_VIEWING').' '.$photo->filename; ?>"
with
title="<?php echo JText::_('JW_PLG_SIG_CLICK_TO_ENLARGE_IMAGE'); ?>"
Please Log in or Create an account to join the conversation.
- Seppe
-
- Offline
- New Member
- Posts: 2
I just installed the plugin, and facing 2 problems.
I have version 3.6.0
1) When on the thumbnail-view, when my mousepointer is over the picure to enlarge it, it says: "click to enlarge image blablabla.jpg"
Is it possible to just use the text "click to enlarge" ? I want to get rid of the filename.
2) When the picture is enlarged, it says at the bottom: "image 1 of 13 # you are viewing the image with filename blablabla.jpg"
Is it possible to remove the whole footer-text?
edit: I have read the whole topic, with lots of directs, but most of the replies are 4 or 5 years old. So I don't know what is changed in the newer versions.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Please Log in or Create an account to join the conversation.
- Forum
- Free Joomla Extensions & Templates
- Simple Image Gallery
- I don't want to see the Filename of the Picture (new version)