SOLVED!
I’ve been able to find how to link to the direct to the original image, if anyone wants to do this for exhibits i would recomend:
-
reading this original post: Lightbox for Items show page for Omeka S and following the instructions
-
then put the magnific pop-up in a script at the bottom of the layout.phtml and add the pdf type
-
and finally the last step is to go to application>view>common>block-layout
once you are here you’ll see all the types of media that can be uploaded to omeka
so you pick the ones you want to see directly that generally it would be the file.phtml and the item-showcase.phtml
and in this piece of code eliminate the link and put the original URL
$media = $attachment->media() ?: $item->primaryMedia();
if ($media):
//echo $media->render([
//'thumbnailType' => $thumbnailType,
//'link' => $link,
// ]);
echo $media->render([
'thumbnailType' => $thumbnailType,
$media->originalUrl(),
]);
endif;
4.Once this is done it will generate the link to the original URL instead of the item, so the magnific pop-up will work correctly. Here you will find a problem that it works pefectly with images but not with documents, soo you have to find another way