- Timestamp:
- 2009-12-14T14:49:27+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/ImageConverter.pm
r20540 r21344 163 163 $self->init_cache_for_file($filename_full_path); 164 164 } 165 165 if ($self->{'store_file_paths'}) { 166 $self->{'orig_file'} = ""; 167 $self->{'thumb_file'} = ""; 168 $self->{'screen_file'} = ""; 169 } 166 170 my $verbosity = $self->{'verbosity'}; 167 171 my $outhandle = $self->{'outhandle'}; … … 201 205 $filename_no_path = "$filehead.$type"; 202 206 $url_to_filename_no_path = "$url_to_filehead.$type"; 207 if ($self->{'store_file_paths'}) { 208 $self->{'orig_file'} = $converted_filename_full_path; 209 } 203 210 } 204 211 … … 279 286 $doc_obj->add_metadata ($section, "ThumbHeight", $2); 280 287 } 288 if ($self->{'store_file_paths'}) { 289 $self->{'thumb_file'} = $thumbnailfile; 290 } 291 281 292 } else { 282 293 my $outhandle = $self->{'outhandle'}; … … 323 334 $doc_obj->add_metadata ($section, "ScreenHeight", $2); 324 335 } 336 337 if ($self->{'store_file_paths'}) { 338 $self->{'screen_file'} = $screenviewfilename; 339 } 340 325 341 } else { 326 342 my $outhandle = $self->{'outhandle'};
Note:
See TracChangeset
for help on using the changeset viewer.