task #9017
Update image link for FoG Willing images
Start date:
05/14/2020
Due date:
% Done:
0%
Severity:
normal
History
#1 Updated by Andreas Müller 11 months ago
Medium size images should be fixed by
UPDATE MediaRepresentationPart
SET uri = CONCAT('https://pictures.bgbm.org/digilib/Scaler/IIIF/Willing!GR!', REPLACE(REPLACE(REPLACE (uri,
'http://mediastorage.bgbm.org/fsi/server?type=image&source=Willing_GR/',
''), '/','!'),'&width=350&profile=jpeg&quality=95','/full/,350/0/default.jpg')
)
WHERE uri LIKE 'http://media%&width=350&profile=jpeg&quality=95%';
with some exceptions.
Small images with
UPDATE MediaRepresentationPart
SET uri = CONCAT('https://pictures.bgbm.org/digilib/Scaler/IIIF/Willing!GR!', REPLACE(REPLACE(REPLACE (uri,
'http://mediastorage.bgbm.org/fsi/server?type=image&source=Willing_GR/',
''), '/','!'),'&width=240&profile=jpeg&quality=98','/full/240,/0/default.jpg')
)
WHERE uri LIKE 'http://media%&width=240&profile=jpeg&quality=98';
#3 Updated by Andreas Müller 11 months ago
For updating the full image
UPDATE MediaRepresentationPart
SET uri = CONCAT(REPLACE (uri,
'http://ww2.bgbm.org/herbarium/images/',
'https://pictures.bgbm.org/digilib/Scaler/?fn=')
,'&mo=file'
)
WHERE uri LIKE 'http://ww2.bgbm.org/herbarium/images/Willing/GR%'
#4 Updated by Andreas Müller 11 months ago
Hallo Dominik,
das Update scheint geklappt zu haben. Vielen Dank für die Hilfe.
Ich habe ein bisschen gesucht und noch 3 weitere Datenbanken gefunden, die mit mediastorage Links arbeiten.
Bei allen 3en funktionieren die Links noch. Es ist also keine Eile geboten. Aber ich nehme an, dass es sinnvoll ist, diese auch zu updaten.
Könntest du mir hierfür auch noch jeweils die passenden Links schicken? Oder sind die Bilder noch nicht umgezogen?
#5 Updated by Andreas Müller 10 months ago
- Status changed from New to Resolved