Member
Member
mark@markferriphoto   2012-09-16, 12:30
#1

Hi,

Firstly, thanks very much for all the work you guy's do on this application. I found it by accident and it helps me present a very cool and professional looking website.

I'm currently upgrading my website and I'm making use of Zenpage and GJR's ZPMasonary theme (another guy worthy of kudos!)

Now I have searched the forum and tried to find anything in the documentation but didn't find anything relevant(if I'm using the wrong key words I apologise) As the title says really, I'd like to replce the default "protected image" gif with my own custom one.
I could replace the default one with mine but I'd have to replace it each time I upgrade and that doesn't strike me as the way you guy's do stuff.

TIA

Mark

my live site is here -> www.markferriphoto.info
my new site is here -> www.testing.markferriphoto.info

Administrator
Administrator
fretzl   2012-09-16, 17:18
#2

Best you activate the flag_thumbnail plugin and read its info. (which can also be found here: ttp://www.zenphoto.org/news/flag_thumbnail)

In short:
Put the image in: [i]path-to-your-installation->plugins->flag_thumbnail[/i] and on the backend set the desired plugin options.

Member
Member
sbillard   2012-09-16, 17:54
#3

In general you can replace Zenphoto default items in your theme by including a like named folder/contents in your theme. In this case I believe the image you are refering to is err-passwordprotected.png so you would insusre that you have a theme folder named images with an image named err-passwordprotected.png contained within it. It will then be automatically used in place of the Zenphoto default.

See the Effervesce+ theme for an example of just this.

Just FYI and for others reading thi thread, the same can be done with plugins. Replicate the plugin folder structure in your theme and the files therein will override the default ones.

Or you can make "global" overrides of files by placing the structure in the plugins folder.

Member
Member
mark@markferriphoto   2012-09-17, 17:26
#4

Hi,
Thanks for getting back to me.
sbillard is correct, that is the image I wish to replace.

Thanks for your help.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.