Keyword

I don't want to see the Filename of the Picture (new version)

More
11 years 3 weeks ago - 11 years 3 weeks ago #53179 by James Lee
@Lefteris

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.

More
11 years 3 weeks ago - 11 years 3 weeks ago #53180 by James Lee
I got the line of text on the pop-up removed.  I modified 'jquery.fancybox.pack.js' line 782. 

I commented out this line ...
/* d = f(&#039;<div class="fancybox-title fancybox-title-&#039; + c + &#039;-wrap">&#039; + e + "</div>"); */
... and added ...
d = f(&#039;&#039;);

Hope this helps anyone else that needs to remove this text.

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

More
11 years 3 weeks ago #53181 by Lefteris
@james011

Yes of course you can also do that but your changes will be lost when an update is out.

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

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

More
11 years 2 weeks ago #53182 by cwgrant
I would like to keep the text at the bottom of the picture but change the wording.  Rather than "You are viewing the image with filename" I would like to substitute a different text string.  So far I am unable to find the file that contains that string.

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

More
11 years 2 weeks ago #53183 by Lefteris
@cwgrant

Hi. Is there a link to your site?

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

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

More
11 years 1 week ago #54887 by cwgrant
Hi Lefteris,

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.

More
11 years 1 week ago #54889 by Lefteris
Make a template override and just remove the title attribute from the img tags.

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

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

More
11 years 1 week ago #54894 by cwgrant
Thank you for the direction. Being the lazy person I am I discovered what seemed like an easier route :-) I went to:

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.

More
11 years 1 week ago #54910 by Lefteris
This is a language string. You can change it from Language Manager -> Overrides. If you change it there you will not lose your changes.

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

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

  • Wladyslaw Wojciechowski
  • Wladyslaw Wojciechowski's Avatar
  • Offline
  • New Member
More
10 years 10 months ago #55261 by Wladyslaw Wojciechowski
Replied by Wladyslaw Wojciechowski on topic Re: I don't want to see the Filename of the Picture (new version)
Hello, Yiota!
In which file one should make these changes?
Regards,
Wlady

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

More
10 years 10 months ago #55270 by Lefteris
@Wladyslaw Wojciechowski

Hi. If the change concerns CSS code you can even place it in your template's CSS file.

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

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

More
10 years 9 months ago #55768 by Alexander
Dear Yiota
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">&nbsp;</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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #55775 by Krikor Boghossian
Simply replace
title="<?php echo JText::_('JW_PLG_SIG_YOU_ARE_VIEWING').' '.$photo->filename; ?>"

with
title="<?php echo JText::_('JW_PLG_SIG_CLICK_TO_ENLARGE_IMAGE'); ?>"

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

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

More
6 years 5 months ago - 6 years 5 months ago #169834 by Seppe
Good morning

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.
Last edit: 6 years 5 months ago by Seppe.

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

More
6 years 5 months ago #169847 by JoomlaWorks
Create an MVC override in your template. Then you can modify the HTML output and remove or adjust the text strings you mentioned. For more, have a look at: www.joomlaworks.net/support/docs/simple-image-gallery (especially the last section)

Fotis / 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