Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Image Border in latest album horizontal block?

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic
Author Message
nukestud

Beginner
Beginner


Joined: Apr 13, 2003
Posts: 13

PostPosted: Thu Jul 31, 2003 9:28 pm    Post subject: Image Border in latest album horizontal block? Reply with quote

Hi, and just want to say nice work with these block mods. Finally some useful nuke/gallery blocks Wink

Ok my question is where do I hack to get image borders for the latest album horizontal block. I see an ahref statement but no img src one to add the border 2. Any ideas?

Thanks in advance!

----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:1.34
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):
Back to top
Hidden View user's profile Send private message
AdBot
   Post subject: Image Border in latest album horizontal block?  

Back to top
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Fri Aug 01, 2003 1:41 am    Post subject: Re: Image Border in latest album horizontal block? Reply with quote

Hi,

To add a border, add this line:

Code: › $attrs = "border=1";


somewhere near the top.

The find this line:

Code: › $content .= $currentAlbum->getHighlightTag($scaleTo)."<br>";


And replace it with this:

Code: › $content .= $currentAlbum->getHighlightTag($scaleTo, $attrs)."<br>";


If you have a problem, I will paste the whole code.

Smile
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
nukestud

Beginner
Beginner


Joined: Apr 13, 2003
Posts: 13

PostPosted: Sat Aug 02, 2003 4:20 am    Post subject: Re: Image Border in latest album horizontal block? Reply with quote

Works Great thanks! Wink

Will that method work for the other blocks aswell?
Back to top
Hidden View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Sat Aug 02, 2003 4:59 am    Post subject: Reply with quote

Yep - should be OK! Very Happy
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
nukestud

Beginner
Beginner


Joined: Apr 13, 2003
Posts: 13

PostPosted: Sun Aug 03, 2003 3:51 am    Post subject: Re: Image Border in latest album horizontal block? Reply with quote

Nice one! Mr. Green
Back to top
Hidden View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

6th year online! 2003-2009
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia