Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 83

ElDorado
Aspiring developer
Profile
Posts: 41
Reg: Mar 25, 2013
Dallas
410
07/03/13 09:50 AM (12 years ago)

MacImage gallery question

Hello, I have been using the MacImage gallery plugin and its been good so far. My question is related to changing how the title appears. Right now the behavior is slide and then tap on the screen to show the title. How do I change the behavior so that the title continues to appear on the image after a slide gesture and dissapears after a tap. I am sure its a minor change in the code somewhere. Does any body know how to do this?
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
07/03/13 10:14 AM (12 years ago)
Do you mean that the navigation bar is just locked, meaning permanently on? If so, I asked myself that very question 4 minutes ago
 
ElDorado
Aspiring developer
Profile
Posts: 41
Reg: Mar 25, 2013
Dallas
410
like
07/03/13 11:11 AM (12 years ago)
No I am referring to the image title at the bottom of the image. The image title appears only when you tap on the image after the first slide. So each time you want to read the name of the image, you have to tap the screen.
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
07/03/13 12:05 PM (12 years ago)
Hi, I'm not trying to pull you away from the MacImageGallery but The ThumbViewer Plugin has this feature. It always shows the title of the image u less you click on it to view it full screen. Best regards, Danny
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
07/03/13 01:34 PM (12 years ago)
@ ElDorado I have found a solution to your problem. I've ferried through the source code and there's a little tweak in the code I ask you to do. It's not complex at all. Open up the BT_Plugins folder and find the Mac_image_gallery.m file inside the mucilage_gallery folder. At around line 911, there is a block of code that starts off with //status bar may be hidden always Replace the that block of code (a few lines) with this below //status bar may be hidden always if(!isHidingNavBar){ controlVisibilityTimer = [[NSTimer scheduledTimerWithTimeInterval:0 target:self selector:@selector(hideControls) userInfo:nil repeats:NO] retain]; isHidingNavBar = FALSE; And that should do the trick. It works for me.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.