Jssor slider is not working - slider

I replaced the original images with my own images in the simple-slider-source.html file in the non-jquery example folder and uploaded into the server along with the image folder and .js files but it doesn't work. It just running the slider without the images. Before uploading into my server, I have compiled it with the simple-slider.compress batch file. In case of original images it's working fine but not with the replaced images.
Is there anybody who can suggest any clue why it is happening and how to fix it? Providing sourcecode snippet would be much appreciated.

The src attribute (url) of the <img> element is incorrect.

Related

Images automation using seleinum

Image not available content is displayed instead of images. But the image path is displayed properly.
We have compared the image path for image not available and the path for images displayed properly. The path is same and there is no difference.
We have tried to find the issue in network section in browser but there is no error.
Is there any idea to find the issue using selenium?

Opening a file with a PHAsset URI from a Webview

From the camera roll, I get a list of URIs in the ph://xxxxx format.
If I use these URIs in Image or ImageBackground components everything works as expected.
I want to show these photos in a webview. Adding to the html an img tag with that kind of URI doesn't work.
Am I missing something?
Is there any workaround to display such images in a webview?
For anyone interested, after trying various solutions, it doesn't seem to work at the time of writing.
I solved getting the absolute path of the image, which in my case meant copying the file from the cameraroll to the app document directory.

tiJsPdf corrupt file but fine on iPhone

I am using ti.jspdf to create a stock order form. When adding an image i use
PDF.addImage(Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, 'logo/logo-pdf.jpg').nativePath,'JPEG',10,13,60,14);
this works fine until i try to open the pdf on anything other than an iPhone.
if i take out the image the pdf opens fine on everything. I have tried to base64 it as a large string but the port of jspdf to ti.jspdf seems to only support a file path being passed through to it.
has anyone seen / overcome this issue?
Thanks

jquery colorbox: first image not loading

I'm having an odd problem with colorbox. The first image refuses to load on the first cycle of the slideshow. On subsequent cycles it loads fine.
page link: http://www.moongraf.com/ddf/weddings.html
click on the photo gallery link in the text
Image size for testing is under 8k so its not an image size issue. Slideshow speed is 4000, relatively slow.
I have another page upladed that works fine using the same links to css/js files in the head content: http://www.moongraf.com/ddf/eventsOLD.html
I must be missing something but I can't find anything that looks wrong. Any help would be appreciated.
EDIT: I found the answer. Dreamweaver was rewriting my code and deleting the link to jquery.min.js. Nice.

Screen Scraping with HTTP Headers Issue - I Think

I've been trying to figure this one out for about a week now and just
can't come up with a good solution. So, I figured I would see if anyone could help me out. Here's one of the links that I'm trying to scrape:
http://content.lib.washington.edu/cdm4/item_viewer.php?CISOROOT=/alaskawcanada&CISOPTR=491&CISOBOX=1&REC=4
I right-clicked to copy image location.
This is the link that is copied:
(Can't paste this as a link because I'm new)
http:// content (dot) lib (dot) washington (dot) edu/cgi-bin/getimage.exe?CISOROOT=/alaskawcanada&CISOPTR=491&DMSCALE=100.00000&DMWIDTH=802&DMHEIGHT=657.890625&DMX=0&DMY=0&DMTEXT=%20NA3050%20%09AWC0644%20AWC0388%20AWC0074%20AWC0575&REC=4&DMTHUMB=0&DMROTATE=0
There is no clear image URL being displayed. Obviously that's
because the image is hidden behind some type of script. Through trial and
error I found that I can put ".jpg" after the "CISOPTR=491" and then the link becomes an Image URL. The problem is that this is not the high-resolution version of the image. To get to the
high-resolution version I have to change the URL even more. I found a lot of articles #Stackoverflow.com to mention trying to build a script using curl and PHP, I have even tried a few of them with no luck. "491" is the image number and I can change that number to find other images in the same directory. So, scraping a sequence of numbers should be pretty easy. But I'm still a noob at scraping and this one is kicking my butt. Here's what I've tried.
Get remote image using cURL then resample
also tried this.
http://psung.blogspot.com/2008/06/using-wget-or-curl-to-download-web.html
I also have Outwit Hub, and Site Sucker, but they don't recognize the URL as an image file and fo they just pass right ove it. I used SiteSucker overnight and it download 40,000 files and only 60 were jpegs, none of which were the ones I wanted.
The other thing I keep running into, is the files I have been able to download manually, the filename is always either getfile.exe or showfile.exe and then if I manually add ".jpg" as the extension I can view the image locally.
How can I reached the original high-res image file, and automate the download process so that I can scrape a couple hundred of these images?
I right-clicked to copy image location. This is the link that is
copied:
You noticed the title has ".exe" in there. Look at the stuff in the query string:
DMSCALE=100.00000
DMWIDTH=802
DMHEIGHT=657.890625
DMX=0
DMY=0
DMTEXT=%20NA3050%20%09AWC0644%20AWC0388%20AWC0074%20AWC0575
REC=4
DMTHUMB=0
DMROTATE=0
Strongly implies the original source of this image is in a database or something and it is being passed thru a server-side filter (not sure if that is what you meant by "some kind of script"). Ie, this is dynamically generated content, not static, and the same caveats apply as would to dynamic text content: you have to figure out what instructions to provide the server to get it to cough up what you want. Which you pretty much have in front of you...if SiteSucker or whatever won't deal with it properly, scrape the address yourself using an HTML parser.