ZenphotoCMS Forum
Patch: Use larger video size and thumbnail - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Patch: Use larger video size and thumbnail (/thread-2553.html)



Patch: Use larger video size and thumbnail - xkahn - 28-03-2008

I found the video size window too small. This patch makes the video display larger.

It also adds a video thumbnail, if it exists. Tested only with stopdesign theme.

Link: http://xkahn.zoned.net/software/zenphoto/patches/zenphoto-1.1.5-bigvideo.patch




Patch: Use larger video size and thumbnail - ming21 - 28-03-2008

I can use this patch. I don't have much experience with this stuff, so can you tell me exactly what file and how to add the patch to ZP. Thanks.




Patch: Use larger video size and thumbnail - acrylian - 28-03-2008

xkahn, do you know that the flv player we use has a full screen button?




Patch: Use larger video size and thumbnail - xkahn - 28-03-2008

Sure. Save the patch into your zenphoto directory. Open a terminal and change to your zenphoto directory.

Run:

patch -p1 < zenphoto-1.1.5-bigvideo.patch

You should get a message saying the patch was applied. Let me know if it asks any questions -- it shouldn't.

If you dislike the change, you can revert the same way:

patch -p1 -r < zenphoto-1.1.5-bigvideo.patch

Afterward, you can delete the patch file, and the .orig files.




Patch: Use larger video size and thumbnail - xkahn - 28-03-2008

acrylian: Yes. I know about the full screen button. But I like the embedded size to be larger.

And I like the image thumbnail preview in the video player.




Patch: Use larger video size and thumbnail - acrylian - 28-03-2008

Alright, I am not familiar with Stopdesign anyway (another dev had worked on it mostly).




Patch: Use larger video size and thumbnail - xkahn - 28-03-2008

This patch shouldn't be stopdesign specific -- I just haven't tested it with other themes.




Patch: Use larger video size and thumbnail - acrylian - 28-03-2008

I just realized that. Maybe we should simply tie that to gether with the sized image size...




Patch: Use larger video size and thumbnail - xkahn - 29-03-2008

That could work, or maybe it should be a separate setting.