【问题标题】:How to increase the width of the image in nextGen (galleryview template) wordpress plugin?如何在 nextGen(galleryview 模板)wordpress 插件中增加图像的宽度?
【发布时间】:2010-10-08 07:17:39
【问题描述】:

我只是想问你如何在 nextGen(galleryview 模板)wordpress 插件中更改图像的宽度/高度?设置完所有内容后,它就像魅力一样,但我无法增加图像的大小。这是我在模板中找到的代码:

<script type="text/javascript" defer="defer">
jQuery("document").ready(function(){
    jQuery('#<?php echo $gallery->anchor ?>').galleryView({
        panel_width: 650,
        panel_height: 400,
        frame_width: 40,
        frame_height: 40,
        transition_interval: 0,
        overlay_color: '#222',
        overlay_text_color: 'white',
        caption_text_color: '#222',
        background_color: 'transparent',
        border: 'none',
        nav_theme: 'dark',
        easing: 'easeInOutQuad'
    });
});

但是这里的宽度/高度仅适用于整个容器,而不适用于图像本身。而且我也不想通过 css 更改这些值,因为那时图像看起来很糟糕。有人可以帮我做一个漂亮的吗?

【问题讨论】:

    标签: php javascript wordpress


    【解决方案1】:

    不完全确定这是否是您需要的,但如果您想将默认的 320x240 尺寸更改为不同的尺寸,请查看admin/tinymce/window.php

    【讨论】:

    • hmm 不完全-确实,我正在尝试更改画廊中图像的宽度和高度,但在galleryview 模板中。这有点不同,但无论如何谢谢:)
    猜你喜欢
    • 1970-01-01
    • 2018-12-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-06-26
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多