问题标签 [nextgen-gallery]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
wordpress - 与 iframe 插件有关的 NextGen Gallery 问题
我已经使用 WordPress Nextgen 库尝试了一些基于 iframe 的弹出插件。它总是从 frame_event_publisher.js 文件中生成一个 js 错误。
有没有办法阻止在另一个插件中加载这个文件?
php - wordpress nextGen Gallery by code 无法点击下一步
我正在使用 wordpress 和 nextGen Gallery 插件版本 1.9.13,我使用以下代码通过代码读出画廊:
这工作正常,然后我可以单击图像并弹出但我无法单击下一个或上一个图像,它只会弹出我单击的那个。
当我检查代码时,rel 标签在那里,我看起来像这样:
当我[nggallery id=10]
在后端使用时,它工作正常。
任何人的想法?谢谢!
html - Image hover firefox with the nextgen gallery wordpress plugin
I am using wordpress with "nextgen gallery" plugin (i guess its css problem and not plugin issue off-course, just mentioned what i am using).
I edited some of the hover code, this is what I've reproduce :
Url: click here to see thumbnails on the website
The problem: if you hover the thumbs with Chrome, you will see:
But on IE and firefox - its not working. The only thing that happend on hover in firefox is the opacity transition. Why?
jquery - jQuery 在 wordpress 上加载两次
我正在为我的 wordpress 使用 NextGen 画廊插件,并为标题滑块使用我自己的脚本。
标题滑块包含:
js/jquery.min.js js/responsiveslides.js
我在functions.php中有这段代码:
add_action('init', 'add_javascript');
这在 header.php 中:
我认为 jquery 被加载了两次,所以现在画廊不能正常工作。我应该如何放置代码以便标题滑块和图库都可以工作?
这是我的网站http://193.2.241.108/wordpress/
jquery - 如何减慢 nextGen 画廊插件的淡入淡出速度
我想修改照片淡入淡出 wordpress 的 NextGen 画廊插件的基本幻灯片的速度。我知道有一个设置可以更改图片更改的频率,但是,我想减慢实际的淡出速度。
我猜我需要修改 jQuery,但我很难找到设置此速度的文件。
编辑:如果这很重要,我使用的是 2.0.40 版本。
html - Wordpress 在经典编辑器中编辑图像标签
我正在尝试将一些图像链接到 wordpress 中的页面。我已添加图像,但找不到<img>
标签,因此我可以将其更改为<a>
标签。在 Visual 编辑器和 Classic 编辑器中,图像显示为实际图像。
我也安装了 Nextgen,但这似乎并没有让我使用 1 张单张图片作为专辑的链接(它排序确实如此,但该图片太小了 + 有奇怪的边框)。
有谁知道如何获得<img>
标签,或者可能是获得所需结果的更好方法?
wordpress - 如何在不知道可能有多少图像的情况下将不同的 css 添加到一行中的最后一张图像
我正在为我的摄影作品创建一个 wordpress 页面。我正在使用最新的 wordpress 和最新的 nextgen 画廊插件。但是我有一个CSS问题
我希望我的页面能够响应我的主题,但我也需要让 nextgen css 也成为。我想做的是找出以下
我在一行 nextgen css 中有许多图像,每个图像之间的间距是通过右侧和底部的 L 形填充完成的,请参见下面的简单图。这很好,但是它也适用于我不想要的行的最后一个图像,因为这不会使文档周围的边距相等
如果在每台设备上连续有一组数量的图像,这会很好,因为我已经通过 css & php 解决了这个问题。然而,为了在较小的设备屏幕上做出响应并更好地适应,每行图像的数量可能会改变,所以我想知道是否有某种方法可以使用 CSS 来解决这个问题。
如果我通过告诉 php 在第 4 张图像上使用不同的 div 提前知道数字,我设法做到了这一点。
目前我的页面没有上线,所以无法提供指向它的链接,抱歉;
感激地收到任何帮助
php - NextGen Gallery WordPress 升级问题 - “不是有效的模板”消息
刚刚将我的 WordPress 网站中的 NextGen Gallery 从 NextGen 版本 1.6.1 升级到 2.0.59
升级后画廊工作正常,但我用来在我的主页上显示四个缩略图的自定义设置不起作用。
我创建了一个自定义主页模板,该模板将显示每个帖子标题和来自相应画廊的四个相关画廊缩略图。
但是,升级后,我看到的不是四个缩略图,而是“[Not a valid template]”
自定义主页代码为:
我在主题函数中添加了一个自定义函数 ngg_excerpt。该功能在升级后仍然存在,并且具有以下代码:
nggShowGallery 似乎包含在较新版本的 NextGen Gallery 中。是否有人对版本 2.0.59 中可能缺少或不同的内容有任何想法会导致此“[不是有效模板]”消息?
wordpress - Nextgen gallery title and description on thumbnail (Wordpress Plugin)
How can I show nextgen gallery thumbnail title and description? I tried to find it in the gallery settings but it seems it was not included there.