Comments (12)
well, there is an example code on my blog post here...
http://dropthebit.com/500/photobox-css3-image-gallery-jquery-plugin/
just plain simple use-case of some images and how to initialize them.
the main demo page is just for general presentation of the code's abilities.
from photobox.
Ah. Your blog post was down, I guess there was excessive traffic earlier.
On Thu, Dec 27, 2012 at 11:33 AM, vsync [email protected] wrote:
well, there is an example code on my blog post here...
http://dropthebit.com/500/photobox-css3-image-gallery-jquery-plugin/just plain simple use-case of some images and how to initialize them.
the main demo page is just for general presentation of the code's
abilities.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-11711721.
from photobox.
it's my shitty hosting "webhostinghub"..I really should change to a normal one that don't go down twice a day..
from photobox.
this is a great plugin
but your example code doesn't work...it should added class="loaded" to display thumbnail and fullscreen viewer still not work use example code..it's work only with flickr example..
do you have any idea to make it work??
from photobox.
this is working using flickr image
and this is not working using my image
and this is my code
<div id="gallery" class="twelve columns" style="padding: 40px 40px 40px 40px;">
<a href="http://localhost/web/project/ekref/file/image/1/8315845534_57b5354e30_b.jpg" class="loaded">
<img src="http://localhost/web/project/ekref/file/image/1/thumbs/8315845534_57b5354e30_b.jpg" alt="http://localhost/web/project/ekref/file/image/1/8315845534_57b5354e30_b.jpg">
</a><a href="http://localhost/web/project/ekref/file/image/1/Stalking_Ocelot_by_Sayantan_Chaudhuri.jpg" class="loaded">
<img src="http://localhost/web/project/ekref/file/image/1/thumbs/Stalking_Ocelot_by_Sayantan_Chaudhuri.jpg" alt="http://localhost/web/project/ekref/file/image/1/Stalking_Ocelot_by_Sayantan_Chaudhuri.jpg">
</a><a href="http://localhost/web/project/ekref/file/image/1/patch.png" class="loaded">
<img src="http://localhost/web/project/ekref/file/image/1/thumbs/patch.png" alt="http://localhost/web/project/ekref/file/image/1/patch.png">
</a>
</div>
even my image not idexed in thumbnail..did I missed something...
update : this is the difference of my link.firstChild and example's
updated : finally I found it
It must be a straight text without any spaces between anchor and image like this
from photobox.
you don't need the class "loaded" it's just for the example page i've created, all you need is a anchor link to the larger image, wrapping a smaller thumbnail image. make sure your urls are correct. there is no reason for it not to work if you follow my blog post example of how to use this..
from photobox.
could you make an example script using own images (not flickr)??
this is the script to make it work but still have a bug. while open fullscreen mode, it always fail to select next images at the first time, but works properly at the second..
$.each($("#gallery img"), function (index, value) {
img = $(this);link = img.parent();link.addClass('loaded');
})
setTimeout( function(){ $('#gallery').find('a').photobox({ thumbs:true }); }, 100); //<-- small thumbnail not shown if not using this script
thank you
from photobox.
the example script never uses flickr images, it's just the demo, you don't need any javascript, or a "loaded" class...
all you need is links wrapping thumbnails and then call the photobox plugin. please ignore anything you see in the demo page, it's just for the show..
from photobox.
this is wht i suggested a stripped-down demo page with nothing but what's
needed for photobox to work.
On Tue, Jan 1, 2013 at 5:39 PM, vsync [email protected] wrote:
the example script never uses flickr images, it's just the demo, you don't
need any javascript, or a "loaded" class...
all you need is links wrapping thumbnails and then call the photobox
plugin. please ignore anything you see in the demo page, it's just for the
show..—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-11795230.
from photobox.
same here, if I use the code inside main.js (flickr urls) it works, but it doesn't if I try the code on blog...
a workaround could be open a flickr account, but it's not an elegant solution.
EDIT:
SOLUTION: as mentioned before, if you copy and paste the blog's code it wont work. you may type it or delete any space between < a > and < img > tags.
from photobox.
@pedrope85 do you get fail to next image in the first time open?? I am still not have time to debug it..
from photobox.
please upgrade to version 1.5, i've re-written much of the code
from photobox.
Related Issues (20)
- Modal doesn't appear HOT 1
- Zooming large pictures with quality loss HOT 1
- JQuery appending but not showing HOT 4
- image gallery - have you seen anything like this HOT 3
- Latest Jquery 3.1.1 HOT 4
- pbOverlay div avoids me click on IE10 HOT 1
- Fix for mobile zoom issues HOT 2
- Thumbs do not swipe on mobile HOT 5
- Mouse use
- The basic example doesn't work. HOT 1
- Image stuck on loading screen HOT 1
- Choose a License HOT 5
- help me to use it
- Photo orientation incorrect. HOT 1
- Trying to get the basics to work - fixed - sample code of page HOT 1
- Preview for huge files failing in Chrome HOT 1
- Can't get it to work on a bootstrap Page HOT 1
- Issue with reactjs ? HOT 3
- Please create a new release
- iphone issue for photobox gallery HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photobox.