I have uploaded to google drive and dropbox(public folder) images that is not loading why is that when i access public url of google drive give as error saying (403. That’s an error.
Your client does not have permission to get URL /U7NFy4SAHqDw6I3-Yd11AG2fi5QaCiIsn62wqOJO0gPRO68G5yfGurFiVm75HezqRtmrwlE33lxRyTF6 from this server. (Client IP address: 103.21.166.13)
ACL Denied That’s all we know.)
This is my codeskulptor code.
import simplegui
message = "Welcome!"
# Handler for mouse click
image = simplegui.load_image('https://drive.google.com/file/d/0Bworipp9D5BbQ0t1aVE2NDlsaXc/edit?usp=sharing')
# Handler to draw on canvas
def draw(canvas):
canvas.draw_image(image, (596, 25), (1192, 50), (100, 100), (128, 128))
print image.get_width();
print image.get_height();
# Create a frame and assign callbacks to event handlers
frame = simplegui.create_frame("Home", 300, 200)
frame.set_draw_handler(draw)
# Start the frame animation
frame.start()