Is anyone else experience this issue?
My custom fonts are working fine when running locally but once I deploy my website to Firebase the custom fonts are no longer showing.
Is this happening because I am pointing to a local font in my pubspec.yaml instead of network?
e.g.
this 'C:/../../assets/fonts/font.ttf' to this http://website.com/assets/fonts/font.ttf
Hello #Chris please have a look at the image maybe it helps you
Step 1:-
Step 2:-
always use relative paths
Nevermind, I fixed it.
It's because the file name had spaces in it e.g. font name.ttf instead of font-name.ttf
Related
Its showing on my github but not showing on pub.dev why?
github link
https://github.com/erayhamurlu/onboarding_plus
pub.dev link
https://pub.dev/packages/onboarding_plus
i hope someone show me i think it is a generic problem.
You need to change the image path, change this:
https://github.com/erayhamurlu/onboarding_plus/blob/main/screenshot1.png
to
https://github.com/erayhamurlu/onboarding_plus/raw/main/screenshot1.png
you need to replace blob to raw in your path. Do this for all three pictures.
Having solely developed Android applications I have decided to try crossplatform development, so far Flutter has been a much more pleasant experience than Xamarin however, I have now run into a roadblock.
I want to give users the ability to read ePub files downloaded from my server. I came across this Flutter package but it is not clear to me how to display the ePub inside a container to the user - https://pub.dartlang.org/packages/epub
I cannot find any examples/tutorials other than the one provided on the example page (which has a Image package conflict. I fixed this conflict by changing the package import line to 'import package:image/image.dart' as image) then all references to it in the main method to image.Image. This might be another issue to resolve another day when it comes to adding custom placeholders for missing images.
I cannot share my ePub files but I have tested with the one found on the github repository here https://github.com/orthros/dart-epub/blob/dev/test/hittelOnGoldMines.epub
Thank you
The only resource that I found was https://github.com/pycampers/flutter_pdf_viewer, but for now it is just for Android.
Another aproach is to load a webview and load the pdf using some JS framework.
Am just beginning with joomla on a site that is already existing and was previously managed by someone else who is not available at the moment. I am trying to troubleshoot a problem why the website is displaying the header differently in different PCs but I am not being able to find the image of that header file. I tried to look for it under "site > media" but cannot find the image among the images in that area. I also tried to look for the path to the image through the template css and found this path ../images/logo.png which I believe must be the path to the header image but I honestly don't really know which path ../images/logo.png is but assuming it is the one under "media" then I still cannot find the image. Could you give me a clue on where the header image files could be found cause I've actually still failed? Or, could you make me understand this path ../images/logo.png or how to find an image on a joomla admin interface like say "logo.png". In fact I discover that on looking at the CSS for the template, the image paths found in it are not found in "Media"? Is there another path for the images in the template and how do I access them? I cannot FTP my host at the moment to view the physical files due to the long procedure needed so am hoping that there is a way to find it. I only have joomla admin access and nothing like Cpanel as yet. The joomla version of the site is 1.5.22 which I know is an old one but I plan to do first things first. Hope I've given enough infor.
Try using FireBug, or Chrome debugger - (press F12) and check "Click an element in the page to inspect" to see where the specific image is located exactly.
I'm developing app using MonoTouch. In debug|simulator everything looks fine, But when i use debug|iphone images are not displaying.
But when i create test app using (Tabbed Application) template, image are displaying fine.
I have set the build action to "Content" for all images. Am i missing something else?
As far as I know, MacOS uses a non-case-sensitive Filesystem and iOS an case-sensitive one. So be sure to have no typos in your filename-references etc
//Just added this as an answer, so you can "accept" it :)
Its probably a permissions issue on the files, right click one of the files in
Finder > Get Info, then under Sharing and Permissions make sure everyone has Read Only. I'm betting its currently set to "No Access".
I've seen this a lot when importing files from a Network location.
Andy
How do you get the graphic that is next to the address bar show up?
I have a very simple site, and I want to make a custom image, and have it show up when a user is on my site.
Thanks
Place a 16x16 favicon.ico file in your websites root directory.
You can produce one in any number of graphic editing programs (including paint).
http://www.photoshopsupport.com/tutorials/jennifer/favicon.html
I found this on wikipedia, which seems to well describe what you are asking:
http://en.wikipedia.org/wiki/Favicon
What your after is a favicon.ico file, check out the wikipedia article for more details.
There are also a number of online generators out there. See Google for more =)
favicon.ico files are also used by some browsers when a user bookmarks your site.
Make a square image and edit it the way that you want. Make sure that you don't add any small details. Next, go to http://www.favicon.cc.com/ . This site will convert your image to a supported .ico format. Rename the file favicon.ico and put it in the root directory of your site. You should have a favicon in your browser now.
This icon, is a favicon, and you have to upload a file to your site if you want it. But if you want to make your favicon work in all browsers properly, you will have to add more than 10 files in the correct sizes and formats.
My friend and I have created an App just for this! you can find it in faviconit.com
We did this, so people donĀ“t have to create all these images and the correct tags by hand, create all of them used to annoy me a lot!
The file generated comes with a small explanation on what to do with the files. We will make it better, but it's a start.
Hope it helps!