drq22639 2013-11-21 09:59
浏览 19
已采纳

在opencart php中显示不同的图像大小

I have following image names in my opencart directory /image/cache/data

1. 15-40x40.jpg
2. 15-62x62.jpg
3. 15-100x100.jpg
4. 15-160x160.jpg
5. 15-200x200.jpg
6. 15-455x475.jpg
7. 15-800x800.jpg

if i use echo $thumb it is showing the image 15-800x800.jpg but how can i call the image 15-100x100.jpg

Can any one help

  • 写回答

2条回答 默认 最新

  • dtja73027 2013-11-21 10:01
    关注

    The '800x800', '100x100' values shows the dimension of images. Opencart uses resized versions of original images in its webpages. You can change the image dimensions in opencart admin: System > Settings > Store [Edit] > Image tab. The option that you're searching for may be Product Image Thumb Size: in Image tab.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 请问这个是什么意思?
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样
  • ¥15 java的GUI的运用
  • ¥15 我想付费需要AKM公司DSP开发资料及相关开发。
  • ¥15 怎么配置广告联盟瀑布流
  • ¥15 Rstudio 保存代码闪退
  • ¥20 win系统的PYQT程序生成的数据如何放入云服务器阿里云window版?