In what file is it determined that videos have 320x240 size? I'm trying to get it to have a default of 640x480.
Don't mean to double-post but I'm sure there's an answer.. ???
Thanks
search results for "320x240" (http://forum.coppermine-gallery.net/index.php?action=search2;search=320x240)
I can't find a topic that actually explains how to counter it. :-\ Many do not have replies and those that do, do not actually say anything of a solution.
I'm asking for what file tells the Coppermine to put 0x0 when dimensions aren't found. I changed the default value in the mySQL but apparently that is not the 0x0 being used (it is in a PHP file).
Thanks
It's in the theme system here
if ($CURRENT_PIC_DATA['pwidth']==0 || $CURRENT_PIC_DATA['pheight']==0) {
$CURRENT_PIC_DATA['pwidth'] = 320; // Default width
// Set default height; if file is a movie
if ($mime_content['content']=='movie') {
$CURRENT_PIC_DATA['pheight'] = 240; // Default height
}
}
If you don't have that code in your theme.php then copy the theme_html_picture() function from the sample theme into your theme and modify your copy.
Exactly what I'm looking for - thanks very much! :D
I'm looking for a more direct solution if possible. Instead of detecting when the video is 0x0, is it possible just to set all videos to 640x480 during the upload/batch-add?