|
|
|
|
68
|
// were we able to find the first page of the gallery?
|
68
|
// were we able to find the first page of the gallery?
|
69
|
if ($galmatch[1]) {
|
69
|
if ($galmatch[1]) {
|
70
|
$image_page = file_get_contents($galmatch[1]);
|
70
|
$image_page = file_get_contents($galmatch[1]);
|
71
|
- $re = '/'.preg_quote('"><img id="img" src="').'(.*)'.preg_quote('" style=').'/';
|
|
|
|
|
71
|
+ $re = '/'.preg_quote('"><img src="').'([^<]*)'.preg_quote('" style=').'/';
|
72
|
preg_match($re, $image_page, $imgmatch);
|
72
|
preg_match($re, $image_page, $imgmatch);
|
73
|
// were we able to find the image url?
|
73
|
// were we able to find the image url?
|
74
|
if ($imgmatch[1]) {
|
74
|
if ($imgmatch[1]) {
|