Changeset 7286
- Timestamp:
- 10/20/10 00:23:38 (3 years ago)
- Files:
-
- 1 modified
-
extensions/gvideo/admin/add_page.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
extensions/gvideo/admin/add_page.php
r7284 r7286 65 65 if ($_POST['thumbnail'] == 'thumb_from_server' and fetchRemote($url, $source)) 66 66 { 67 @preg_match('#link rel="image_src" href="(http://.*?)"#', $source, $matches); 68 $video['thumb_url'] = @str_replace('160.jpg', '200.jpg', $matches[1]); 67 if (preg_match('#meta property="og:image" content="(http://.*?)"#', $source, $matches)) 68 { 69 $video['thumb_url'] = str_replace('160.jpg', '200.jpg', $matches[1]); 70 } 69 71 } 70 72 return $video;
![(please configure the [header_logo] section in trac.ini)](http://piwigo.org/screenshots/piwigo_logo_on_white.png)