Giter VIP home page Giter VIP logo

Comments (4)

st4nn avatar st4nn commented on July 18, 2024

@zombozo12 Can you give us further information please? I really don't understand the issue
Thanks for writing

from trape.

zombozo12 avatar zombozo12 commented on July 18, 2024

Thank you for reply my issue, I appreciate so much. Sorry for gave you messy information.

  1. I run trape.py and set png url into it. Original link : http://www.catster.com/wp-content/uploads/2017/08/A-fluffy-cat-looking-funny-surprised-or-concerned.jpg

  2. I open link that trape processed to be : http://127.0.0.1:1000/www.catster.com/wp-content/uploads/2017/08/A-fluffy-cat-looking-funny-surprised-or-concerned.jpg . This is how it's looks like

raw body of image

Why this is happen? Am I suppose to run trape in server?

from trape.

st4nn avatar st4nn commented on July 18, 2024

Trape will try render the lure like a HTML object, so is better if your Lure url is a webpage, not a picture. If you want just show an image, try this:

<html>
	<body>
		<img src="myImage.png" alt="">
	</body>
</html>

from trape.

zombozo12 avatar zombozo12 commented on July 18, 2024

I guess I got the problem here.

trape renders the lure like a HTML object.

You shouldn't do that. Try to find another way to render the object to be the original object.

from trape.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.