attosoft
Forum Replies Created
-
Forum: Plugins
In reply to: [Auto ThickBox Plus] Add hover style to tickboxHi ichomusic,
The following style is typically used to show specified image on thumbnails when hovering the mouse over a thumbnail.
a.thumbnail:hover { background: url(transparent-image.png); }
However the site above takes a different approach, and defines the following styles.
a.thumbnail { background: url(image.png); } a.thumbnail:hover img { opacity: 0.3; }
Thereby specified image is displayed already, but thumbnails cover it normally. Then thumbnails become transparent when hovering the mouse over a thumbnail.
Right I understand, so you are saying that I cannot use the “Title” options in ATB because NGG hasn’t set anything for the TITLE option, only “caption.”?
In other words, I can only have the description showing or the alt text (which NGG populates with the filename automatically) at any one time?
I wanted them both to display (alt/title filename and the description). And I’ve just arranged all of the options for “title” and nothing worked. In other words, nothing in the “title” section options in the ATB setings panel work.
I have just answered such questions already, so you should read my previous comments again and again on this topic and another topic before asking new questions.
Moreover, my plugin is provided for free, but I cannot provide unlimited technical support for free. Basically, I provide the support only once for new user, but you use it too many times for your own convenience at no cost. I’ve got tired from supporting you, so please use another plugin.
Forum: Plugins
In reply to: [Auto ThickBox Plus] Adding ?TB_iframe to a php echo call?> Moderator note: pre works but please use the backtick instead for code.
My code above is rewritten improperly by moderator, so I reposted it.
if ( get_post_meta( $post->ID, 'dest_location_ca', true ) ) { $args = array( 'post_type' => 'sites', 'meta_key' => 'site_destination', 'meta_value'=> 'California', 'orderby'=> 'title', 'order' => 'ASC', 'posts_per_page' => 100, ); $sites = new WP_Query( $args ); if ( $sites->have_posts() ) { echo '<h3>California</h3>'; while ( $sites->have_posts() ) { $sites->the_post(); echo '<ul id="snapshots_list">'; echo '<li>'; echo '<a href="' . get_permalink() . '?TB_iframe&width=1000&height=500">'; if ( has_post_thumbnail() ) { the_post_thumbnail( 'thumbnail', array( 'class' => 'thumb_destination' ) ); } echo '<br />'; the_title(); echo '</a>'; echo '</li>'; echo '</ul>'; } } }
A “description” of NextGEN Gallery is set to the link title (
a@title
), so I said before – use “Text – Caption” setting. All you have to do is move “Link – Title (a@title
)” item to the top of the list. Furthermore, “Link – Title (a@title
)” item is at the top of the list by default. Therefore your problem is caused by yourself because you changed the setting for some reason.The link has
title
attribute and the image hastitle
andalt
attributes. If you want to show the link title, use “Text – Caption” setting.When I try to change the “title” position option in ATB, nothing happens.
Forum: Plugins
In reply to: [Auto ThickBox Plus] Adding ?TB_iframe to a php echo call?Hi niftysmith,
Sorry for this late reply.
Is this possible?
I think it is probably possible. Frankly, your code is dirty and has some bugs. Try the following code that I modified, refactored and fixed.
[ Moderator note: pre works but please use the backtick instead for code. ]
if ( get_post_meta( $post->ID, 'dest_location_ca', true ) ) { $args = array( 'post_type' => 'sites', 'meta_key' => 'site_destination', 'meta_value'=> 'California', 'orderby'=> 'title', 'order' => 'ASC', 'posts_per_page' => 100, ); $sites = new WP_Query( $args ); if ( $sites->have_posts() ) { echo '<h3>California</h3>'; while ( $sites->have_posts() ) { $sites->the_post(); echo '<code><</code>ul id="snapshots_list">'; echo '<code><</code>li>'; echo '<code><</code>a href="' . get_permalink() . '?TB_iframe&width=1000&height=500">'; if ( has_post_thumbnail() ) { the_post_thumbnail( 'thumbnail', array( 'class' => 'thumb_destination' ) ); } echo '<code><</code>br />'; the_title(); echo '<code><</code>/a>'; echo '<code><</code>/li>'; echo '<code><</code>/ul>'; } } }
Forum: Plugins
In reply to: [Auto ThickBox Plus] [Plugin: Auto ThickBox Plus] Titles, Captions, and LinksI have deleted and reinstalled the plugin from WordPress twice and still the same issue.
Hmm…, I wonder why. I modified ThickBox so that it replaces apostrophes in the caption with its character entity (
'
). That is why the problem should be solved, I think.Forum: Plugins
In reply to: [Auto ThickBox Plus] [Plugin: Auto ThickBox Plus] Titles, Captions, and LinksThe current version is 1.9, but you can get the latest version by reinstalling the plugin. See also Changelog.
One additional problem is that the titles are not appearing even though I have selected: Settings->View->Title->Top
Oh, I understand. You want to show both title and caption of the image. I think my comment on another topic is helpful for you.
Forum: Plugins
In reply to: [Auto ThickBox Plus] [Plugin: Auto ThickBox Plus] Titles, Captions, and LinksHi fiberlyone,
Thank you for using Auto ThickBox Plus.
In my understand, the two problems that you have are below. Right?
- Close button is below Prev/Next links in about half of images that has longer caption than image width.
- Part of caption is inserted under the image in No.22/24 whose caption contains both apostrophe (
'
) and greater-than sign (>
).
Second problem is caused by ThickBox bug, so I fixed it. Please reinstall the plugin.
I checked your site with the Android Emulator provided officially.
ThickBox works fine, so I have no idea what the cause is. It may be Android 2.3.7, your phone, your theme or my plugin.
Forum: Themes and Templates
In reply to: dacebook-like Thickbox/Lightbox Gallery for NativeHow about prettyPhoto?
I cannot reproduce your issue. See this screenshot with NextGEN Gallery 1.9.6. The caption is on the top side, and prev/next images are shown properly.
It’s different now in that it scrolls to the top as far as I can see – but the lightbox image doesn’t open at the top. ??
How about this problem? Does it still persist now in your Android 2.3 phone?
I installed Portfolio Press theme since you use a child theme of Portfolio+ theme, and tested the plugin in the following virtual devices, using the Android Emulator in the Android SDK.
- Android 2.2 (ARM, WVGA)
- Android 2.3.3 (ARM, WVGA)
- Android 2.3.3 (Intel Atom, WVGA)
- Android 4.0 (ARM, WVGA)
As the result, the plugin seems to work for me with no problem.
The plugin listens only resize event currently, so the problem will be resolved by listening both resize and orientationchange events, however it is not smart way.
I modified the plugin so that it listens both events, so I hope the problem has been resolved.
Thank you again for helpful screenshots.
It’s different now in that it scrolls to the top as far as I can see – but the lightbox image doesn’t open at the top. ??
I fixed several more bugs on sizing and positioning. I have no idea about the cause if the issue occurs even in the latest plugin. To solve the issue, I need an environment that reproduces it. Probably, I had better rewrite buggy ThickBox completely than maintain it as before.
there appears to be a problem with resizing the lightbox when rotating the device. I made these screenshots on a iPad2, same happens on the iPad3.
I have heard that iPad does not trigger
resize
event sometimes when the orientation is changed. The plugin listens onlyresize
event currently, so the problem will be resolved by listening bothresize
andorientationchange
events, however it is not smart way.Many thanks, attosoft