Comments (10)
Thanks for reporting it. Haven't tested in Windows environment.
It should now be working as of 175323d.
from svelte-qwer.
Given you have
/user/assets/providers/belatra-logo.png
In your /user/blogs/example/index.md
,
Use the following link to access the above image:
![BelatraLogo](/providers/belatra-logo.png)
The above link will translate to
<p><ImgZoom src="/providers/belatra-logo.png" alt="BelatraLogo" /></p>
The shared image shows. This works both in dev and production mode.
You can reference images under /user/assets/
and /public/
folder directly by /image-name.png
(The image in /user/assets/
has higher priority if both folders have the same image name.)
or the images next to the index.md
by ./image-name.png
.
You can also check /src/generated/assets.json
(after pnpm dev
or pnpm build
) to see all the images that are available to you.
Thanks for letting me know the issue you have encountered. Please let me know if you have any other questions.
from svelte-qwer.
![BelatraLogo](/providers/soft/belatra-logo.png)
![BelatraLogo](/belatra-logo.png)
path: user/assets/providers/soft/belatra-logo.png
Does not give the desired result.
cmd: pnpm dev
from svelte-qwer.
Please provide your repo or minimum reproduction repository.
from svelte-qwer.
I have updated example post to show it is working correctly
https://svelte-qwer.vercel.app/example#image
Please update your svelte-QWER and QWER to the latest version to see if your issue still exist
from svelte-qwer.
project is not working at all
these are the errors I get after a complete cleanup of the project and a new start
from svelte-qwer.
where is the path formed? there is an assumption that the condition for different OS is not taken into account
from svelte-qwer.
this is the original project
from svelte-qwer.
![BelatraLogo](/providers/soft/belatra-logo.png)
<ImgZoom class="dark:(bg-white)" src="/providers/soft/belatra-logo.png" shadow="false"></ImgZoom>
I have configured myself to remove the shadow for tables, can I somehow do this if I use the .md syntax, and not html?
from svelte-qwer.
If that's the default style you want, you can go ahead customize the image_zoom components at src/lib/components/image_zoom.svelte
by removing shadow-xl
in the img
class.
class="z-50 m-auto md:(rounded-2xl shadow-xl) {className ?? 'h-full w-auto aspect-auto object-cover'}"
from svelte-qwer.
Related Issues (20)
- Vite building error (ByteString convertion by undici) HOT 11
- Article search not working: flexsearch HOT 4
- Tag filter not working HOT 1
- inqury: Build failure due to bloated script file HOT 5
- image_zoom.svelte HOT 1
- Assets src path error on local Windows environment HOT 2
- Doesn't work on iPhone 5s HOT 1
- Wrong image size HOT 1
- Jerky animation HOT 2
- Text from Markdown on the main page HOT 3
- Link to content
- Img Size HOT 2
- Google Pagespeed Performance HOT 4
- Multiple tags not working HOT 5
- Search field is empty HOT 3
- Share not working from images other than jpg HOT 7
- After upgrade, @sveltejs/kit postinstall will never finish HOT 8
- Found an error using the template HOT 1
- build error due to PrismJS HOT 3
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 svelte-qwer.