Pages (3): 1 2 3   
Member
Member
ryan_nerone   18-11-2009, 08:39
#1

I would like to know how to set the thumbnail on the index page (the main page) to a custom thumbnail that has been cropped by me. I have uploaded a custom thumbnail to my /zenphoto/cache/album folder and made it appear manually through Firebug.

I would like to know how I can get it to stay there. In the Admin > Edit tab, under the Thumbnail drop down, I do not get an option that would allow this to happen. I must choose between "most recent, random, or a particular image that Zenphoto crops for me".

Note that the Custom thumbnail cropping feature in Admin > Edit > Images tab does not work. Not 100% sure why, but from the info I gathered, it is because my theme is a custom theme.

Apologies if this has been addressed, but I cannot find this in the forums. Any help would be appreciated.

Member
Member
micheall   18-11-2009, 10:14
#2

Are you using the getCustomAlbumThumb() function? Try using it and adjusting the variables via it:

http://www.zenphoto.org/documentation/functions/_template-functions.php.html

Member
Member
captain1   18-11-2009, 10:18
#3

I'm using Zenpage so how could it be possible to hide albums appearing on main page?

Member
Member
micheall   18-11-2009, 10:28
#4

@captain1 probably best to start a new thread for your issue, or tack it to one of your other threads, leave this one for ryan_nerone's post. I'll go help over on one of your threads.

Administrator
Administrator
acrylian   18-11-2009, 10:53
#5

@Captain1: You question has already been answered on another thread. Unpublish them.

Member
Member
ryan_nerone   18-11-2009, 11:16
#6

We'll disregard captain1's stuff and begin again here.

I am using the printCustomAlbumThumb() function and it's variables have been adjusted. How can I adjust this to direct it to the URL of the "customthumb.jpg" that I would like to place in the /zenphot/cache for each album on the index page?

Bet the answer is just right in front of me, but I'm new to this stuff.

Here is the code (please let me know if it is wrong to post this here; can't seem to find the guidelines for posting)

`

[*]
">
" title="View album: ">

`

Administrator
Administrator
acrylian   18-11-2009, 11:41
#7

If you want to use the custom cropping values from the admin cropping tool you can't use the customimage functions. These do not use the values from the backend.

Member
Member
ryan_nerone   18-11-2009, 11:46
#8

So should I delete the custom cropping values and keep the code as is or should I change what the code is calling for? I just want to upload "customthumb.jpg" to each cache folder with the correct dimensions already present and have the code call for that. I'm confused.

Administrator
Administrator
acrylian   18-11-2009, 12:16
#9

You have to use the default image functions. Take a look at the default theme and/or the theming tutorial.

Member
Member
sbillard   18-11-2009, 18:05
#10

Please inclose "code" in peck marks so that the formum formatting is not destroyed.

Member
Member
ryan_nerone   19-11-2009, 04:17
#11

Thanks, I'll work through it when I get the chance and post the code correctly next time.

Member
Member
ryan_nerone   20-11-2009, 13:10
#12

I can't get this to work. Any chance you could expand on "use the default image functions"? My default theme has been deleted so I can't reference it. Tried to download again, but I keep getting corrupted downloads of the Zenphoto.zip/.tar.gz

Now I can't find the functions guide. Seems to have vanished from the site. All I see is "How to read..."

Member
Member
micheall   20-11-2009, 15:06
#13

for the function guide click "user guide" from the top menu in the header, it's the first item then listed on the left.

Member
Member
ryan_nerone   23-11-2009, 06:18
#14

i'm starting to feel like a complete moron with this stuff. can't even find the guide. so here is where i navigate to like micheall said.

http://www.zenphoto.org/documentation/index.html

seriously, where is it? a direct link would be key.

found the elements index however.

Member
Member
micheall   23-11-2009, 09:32
#15

That is the function guide, then on the right you have the links for the different functions/classes etc of zenphoto. For instance, if you click on functions it will show you the three categories of functions, then click on template-functions.php and you can look through all the functions that are specifically for templating and theme work.

Member
Member
ryan_nerone   23-11-2009, 09:58
#16

thanks. i got it. sometimes i think my brain has a filter on blatantly-obvious content. i'll get it together one day. so, now i'll delve into getting these custom thumbnails going and post back when i can. cheers.

Administrator
Administrator
acrylian   23-11-2009, 10:36
#17

The easiest to search on the functions guide is to click on "element index" and then use the page search function every browser has.

Member
Member
ryan_nerone   23-11-2009, 11:00
#18

i really need to reference the default template for learning how to do this, but i deleted it. not sure why, but, here in thailand, i cannot download the latest zenphoto 1.2.6 or any other content from zenphoto (themes,etc.) without the download breaking every time. i've tried numerous times and using different browsers. no luck. is there another way i can access the default theme?

Administrator
Administrator
acrylian   23-11-2009, 11:09
#19

I have no idea why you are not able to download. The official Zenphoto release package is actually hosted on Google code, maybe try that directly:
http://code.google.com/p/zenphoto/

Member
Member
ryan_nerone   23-11-2009, 11:21
#20

tried it. broke again. always at 3.9MB. i don't know why either. i'll get friend in the states to download it and send it another way. crazy.

so, while the help is appreciated, i gather from this forum, that you can't walk me through the steps in getting this task done. i'm positive this is not difficult and could probably be resolved quickly, but it seems like you are not wanting to directly post the code that i need. while i understand every case is different and maintaining this forum is a busy job, it seems like just posting the code would help both me and others who are confused over this same thing.

Pages (3): 1 2 3   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.