You've already forked EasyImages2.0
mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-12-13 11:43:58 +08:00
✅ for new version
This commit is contained in:
4
admin/manager.php
Executable file → Normal file
4
admin/manager.php
Executable file → Normal file
@@ -2106,8 +2106,8 @@ $tableTheme = (FM_THEME == "dark") ? "text-white bg-dark table-dark" : "bg-white
|
||||
<?php
|
||||
if (in_array(strtolower(pathinfo($f, PATHINFO_EXTENSION)), array('gif', 'jpg', 'jpeg', 'png', 'bmp', 'ico', 'svg', 'webp', 'avif'))): ?>
|
||||
<?php $imagePreview = fm_enc(FM_ROOT_URL . (FM_PATH != '' ? '/' . FM_PATH : '') . '/' . $f); ?>
|
||||
<!-- 分组图片浏览 -->
|
||||
<a href="<?php echo $imagePreview ?>" data-toggle="lightbox" data-group="image-group-1"><img src="<?php echo $imagePreview ?>" class="img-rounded" width="100px" height="100px" alt="<?php echo fm_enc($f) ?>"></a>
|
||||
<!-- 分组图片浏览 -->
|
||||
<a href="<?php echo $imagePreview;?>" data-toggle="lightbox" data-group="manager-group"><img src="/application/thumb.php?img=<?php echo parse_url($imagePreview)['path'];?>" class="img-rounded" width="100px" height="100px" alt="<?php echo fm_enc($f);?>"></a>
|
||||
<?php else: ?>
|
||||
<a href="<?php echo $filelink ?>" title="<?php echo $f ?>">
|
||||
<?php endif; ?>
|
||||
|
||||
Reference in New Issue
Block a user